Re: Question about FTP over SSH or SFTP
From: Darren Tucker (dtucker_at_zip.com.au)
Date: 07/24/04
- Previous message: Shane Smith: "Question about FTP over SSH or SFTP"
- In reply to: Shane Smith: "Question about FTP over SSH or SFTP"
- Next in thread: Rick Moen: "Re: Question about FTP over SSH or SFTP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 24 Jul 2004 11:19:37 +1000 To: Shane Smith <shane@voxeo.com>
Shane Smith wrote:
> Sorry if this is a newbie question, but I've searched the mailing lists and
> google extensively, without finding out how to do this. I need to get
> PureFTPd working with SSH. I see in the sshd_config file:
>
> Subsystem sftp /usr/libexec/openssh/sftp-server
>
> My question is how to change the subsystem to work with PureFTPd?
You can't, unless you're prepared to completely rewrite it. Apart from
having the letters "F", "T" and "P" in their names and the fact they
both transfer files, FTP (ie the protocol in RFC959) and SFTP (ie the
protocol in [1]) have little in common.
If the objective is to run FTP over an SSH tunnel, then some SSH
implementations understand enough of the FTP protocol to successfully
forward FTP control and data connections.
Alternatively, if you have a FTP client that supports both SOCKS and FTP
passive mode (and your FTP server supports passive mode too) then in
theory you could use one of the SSH clients that can act as a SOCKS
server ("Dynamic Forwarding" in OpenSSH, PuTTY and probably others).
In both cases you will need a stand-alone FTP client and server at both
ends, the SSH connection is just adding tunnelling.
If you give us a better idea of what you're trying to achieve (as
opposed to how you're trying to achieve it) you'll probably get better
advice.
[1] http://www.ietf.org/internet-drafts/draft-ietf-secsh-filexfer-05.txt
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
- Previous message: Shane Smith: "Question about FTP over SSH or SFTP"
- In reply to: Shane Smith: "Question about FTP over SSH or SFTP"
- Next in thread: Rick Moen: "Re: Question about FTP over SSH or SFTP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|