Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

RE: OpenSSH and FTP

Subject: RE: OpenSSH and FTP
Date: Fri, 29 Sep 2006 18:18:06 -0700
We have an application that allows users to login and 
submit/receive files through a custom FTP proxy server.  We 
support most FTP clients.  We now need to be able to support 
an SCP client (such as WinSCP).  I thought it might be 
possible to use OpenSSH's sshd as an SSH wrapper for my FTP 
proxy server.  What I want to do is perform an ftp connect at 
session start, an ftp login for password authentication, and 
then an ftp put or get for sending or receiving files.

Questions:

Is this a bad idea?  Is there a more straightforward way to 
accomplish this?

I'm working my way through the code, but could you provide 
some guidance on the locations where I would need to add in 
my FTP logic as described above? 

What you're trying to do could be an extremely tricky proposition, because
of the multiple ports involved in an FTP connection.  SCP and FTP are also
two completely different protocols, and I'm guessing it's highly unlikely
it'll be an easy matter to make an FTP proxy support it.

You may have more luck with SFTP or FTP over SSL.


<Prev in Thread] Current Thread [Next in Thread>