You can do regular FTP over SSH, but the ftp client must do it in PASV mode,
not the usual PORT mode if there are firewalls in between. Yes you can SFTP
to a SSH server, but it cannot talk to a normal FTP server, as it is not
really a FTP client.
The following is what tested successfully with PuTTY, CuteFTP on a local
machine and Cygwin SSHD on a remote Win2k server between two firewalled
LANS:
1. start PLINK as an ssh tunnel (plink.exe is a PuTTY executible for ssh
tunnelling):
$ plink -ssh -pw remote_host_password remote_host_user@remote_host_ip -L
21:127.0.0.1:21 -R 21:remote_host_ip:21
2. start CuteFTP by entering at its GUI:
host_ip: 127.0.0.1:21
username: remote_host_user@local_firewall_user@remote_host_ip
password: remote_host_password@local_firewall_password
Also make sure the remote W2K machine has turned on FTP server (which is
under IIS). The Cygwin SSHD is running on the W2K box too.
I picked cuteFTP because it supports FTP PASV mode.
This also works with a remote AIX that runs OpenSSHd.
But running sftp will be more straight-forward. I heard WinSCP is a GUI
client that runs on Windows.
Teng
-----Original Message-----
From: Alex Yantifovich [mailto:alex@b-swing.com]
Sent: Thursday, January 23, 2003 3:06 PM
To: Ssh-L@Erdelynet. Com
Subject: FTP over SSH
is it possible to FTP over SSH?
are there special tricks to it or, do i just connect with my sftp client to
ssh server IP?
alex@b-swing.com
-- List Information: http://tech.erdelynet.com/mailman/listinfo/ssh-l/ List Archives: http://erdelynet.com/archive/ssh-l/ To Unsubscribe: Go to http://tech.erdelynet.com/mailman/listinfo/ssh-l/ and enter your email address at the bottom to "Edit Options". If you don't know your password, have it emailed to you. Then unsubscribe. CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. ---------------------------------------- -- -- List Information: http://tech.erdelynet.com/mailman/listinfo/ssh-l/ List Archives: http://erdelynet.com/archive/ssh-l/ To Unsubscribe: Go to http://tech.erdelynet.com/mailman/listinfo/ssh-l/ and enter your email address at the bottom to "Edit Options". If you don't know your password, have it emailed to you. Then unsubscribe.Received on Thu Jan 23 17:12:01 2003
This archive was generated by hypermail 2.1.8 : Fri Jul 29 2005 - 17:33:46 EDT