Re: FTP works but SSH does not
From: Tom Einertson (tome_at_siemens-emis.com)
Date: Thu, 17 Nov 2005 14:37:15 -0600
<firstname.lastname@example.org> wrote in message
> the error message is "the host 'ftp.XXXX.com' is unreachable. the host
> may be down ... sometimes such problems can be caused by misconfigured
> As I cud connect thru ftp, the host cant be down. I tried to disable
> firewall in vain. The SSH help suggests the following
> "Check that you have defined the correct port number for the
> connection. The port can be changed on the Connection page of the
> Settings dialog."
> I dont know how to play with these port numbers. Is there any good
> reference out there that explains about port numbers in this context?
> Btw, I'm using port 22 here.
> if i've to change port number wut are my options?
> Thank you.
That error message sounds like one Microsoft would issue - really
verbose but not very precise. But since Windows doesn't supply an ssh
client, it can't be that. What ssh client are you using?
If by 'unreachable' that message means the errno ENETUNREACH or
EHOSTUNREACH, then you have a routing problem. I doubt that message is
that precise, though.
If you have access to another ssh client, try that. You may get better
diagnostics from a different client.
Or if you have access to a UNIX machine, try connecting to the ssh port
on that server using telnet (ie, 'telnet ftp.XXXX.com 22'). Every UNIX
version of telnet I have ever used gave good error messages that you
can tie back to a specific socket error number. You can tell a lot
from those errnos. Don't use the Windows telnet. It has lousy error
PS - If you happen to get connected, with telnet just type the telnet
escape character to disconnect.
-- Tom Einertson E-mail: email@example.com SIEMENS Power Transmission & Distribution Phone: (952) 607-2244 Energy Management & Automation Division Fax: (952) 607-2018 10900 Wayzata Boulevard, Suite 400 Minnetonka, MN, 55305