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. |

| Subject: | Re: SFTP Limited Availability |
|---|---|
| Date: | Tue, 7 Nov 2006 16:49:50 -0500 |
- Chris
On Nov 6, 2006, at 5:23 PM, Darren Tucker wrote:
Chris Braster wrote:At my location we have two internal networks. I have installed
OpenSSH 4.4 on a server on one of those networks and the only change
I made was for it to use port 21 instead of port 22, since port 21
was available and getting ports opened here is a production in itself.
So there's a firewall between the client and server?
If I SFTP to that server from a computer on that same network, it works
fine. If I attempt to SFTP to that server from a computer on the other
network, I get the following error: [...]
Network error: Connection reset by peer
Port 21 is usually used for FTP, which is one of the most firewall- unfriedly protocols around. In order to handle it most firewalls need to inspect the content of the control channel (port 21) in order to know what other ports a given FTP connection needs.
I suspect that your firewall is inspecting the connection on port 21 and waiting for it to behave like an FTP connection (which it won't; from a protocol perspective an sftp session will look nothing like an FTP connection on the wire) and eventually gives up and kills the connection. It works on the local net because there's no firewall.
I suggest that you bite the bullet and get your firewall changed.
--
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.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: SFTP Limited Availability, David . A . Barr |
|---|---|
| Next by Date: | SSH 4.3 VPN with Ubuntu Edgy - Can't get it to work, Joel Heenan |
| Previous by Thread: | Re: SFTP Limited Availability, Darren Tucker |
| Next by Thread: | Re: SFTP Limited Availability, David . A . Barr |
| Indexes: | [Date] [Thread] [Top] [All Lists] |