Re: FTP and SSH access question
From: Kevin Buhr (buhr_at_telus.net)
Date: 12/02/04
- Next message: donnie: "Re: FTP and SSH access question"
- Previous message: Chris Nystrom: "Re: SSH pipe probelm"
- In reply to: c3dy8911r: "FTP and SSH access question"
- Next in thread: c3dy8911r: "Re: FTP and SSH access question"
- Reply: c3dy8911r: "Re: FTP and SSH access question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 01 Dec 2004 23:00:26 GMT
c3dy8911r@yahoo.com (c3dy8911r) writes:
>
> Does anyone have any ideas?
Sure, several.
First:
You say port 20 is closed. I assume you mean it's blocked by a
firewall rule, but you've neglected to mention in which direction
(and, for a given direction, whether it's blocked based on the source
or destination port).
In the extreme case, where all traffic to or from port 20 in either
direction is blocked, it should be sufficient to use an FTP client in
passive mode. It shouldn't touch port 20.
Or second:
SSH to the remote server as this normal user, "cd" to a writable
directory, and "ftp localhost" as root to GET the root-readable file
into that directory. Now, "cat file" should work.
Or third:
Since you can upload as root, upload a "passwd" file with a blank or
known root password. Now, SSH as user and "su" or "sudo" to root.
-- Kevin <buhr@telus.net>
- Next message: donnie: "Re: FTP and SSH access question"
- Previous message: Chris Nystrom: "Re: SSH pipe probelm"
- In reply to: c3dy8911r: "FTP and SSH access question"
- Next in thread: c3dy8911r: "Re: FTP and SSH access question"
- Reply: c3dy8911r: "Re: FTP and SSH access question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|