Defcon1-Header
Tool-BarfreeBSD ArticlesSearch Our SiteHOMEfreeBSD LinksContribute to FreeBSD HelpFreeBSD FilesFreeBSD Script Corner

Securing FTP traffic over an SSH connection

(assuming you're using windows to connect to a *nix server)

1. Launch SSH.
2. Go to the preferences and click on the tab 'forwarding' (or 'tunneling' in the new SSH2).
3. Select 'local' forwarding (all connections to the specified port on the local computer will be forwarded over the SSH connection to the specified port on the remote computer), port 21 on both local and remote computer (or, if the remote ftp server is using some other port, change that remote port accordingly) and fill in the remote computer's name/IP.
4. Connect to the remote computer with SSH.
5. Launch your FTP client and connect to your localhost, with the remote server's login name and password and you're all set. Everything is now tunneled through the SSH secure connection.

 If you're using *nix - *nix connections, read through SSH man pages and look for the -L option (local forwarding).
 Securing FTP traffic over an SSH connection when connecting to a Windows FTP server is a bit more cumbersome and I won't cover it here. Just use Linux/Unix ;)
  .pi. --

Petteri Lyytinen

           Once you stop trying, you can start succeeding.

© 1997 - 20013 Defcon1, www.defcon1.org , Copyrights for all materials on this web site are held by the individual authors, artists, photographers or creators. Materials may not be reproduced or otherwise distributed without permission of www.defcon1.org and the content's original author.

Defcon1-Header2
Tool-Bar-2Defcon1  Webmail