Re: FTP and SSH access question
From: c3dy8911r (c3dy8911r_at_yahoo.com)
Date: 30 Nov 2004 21:28:16 -0800
Thanks for your reply -- let me clarify:
I am running this experiment in an authorized lab environment. I've
trojaned the vsftp daemon on the remote machine to allow root access
(with a set password). Therefore, I don't have the root password to
use with a sudo command (via SSH or anything else).
Is there a work-around to the permissions problem that would allow me
to access the file remotely via SSH given the limited root FTP access
Sundial Services <firstname.lastname@example.org> wrote in message news:<email@example.com>...
> c3dy8911r wrote:
> > I am working on a RedHat 9 machine remotely (in a lab environment),
> > trying to access a file owned by root (permissions: -r--------) on the
> > remote machine. I have root FTP access (upstream) but only user-level
> > access via SSH.
> Urk?! "root" and "FTP" in the same sentence? Gee, I hope not!
> > The FTP data port (20) is closed, so I can't get the file with FTP. I
> > can't use SSH (or SCP) to view/download the file, because root is
> > disabled from connecting to SSH (even locally).
> > Does anyone have any ideas? I figure the combination between root FTP
> > access and standard SSH access can be used in some way. The remote
> > machine also has web services running, and the user account I can use
> > via SSH has access to a personal web page directory.
> The FTP port obviously _should_ be closed. The SSH suite provides tools
> like 'scp' which can do secure file-copying. At minimum it also provides a
> simple form of "tunneling" which allows communications using insecure
> protocols to take place through a secure tunnel. IPSEC (Virtual Private
> Networks) also provides the same basic idea.