Re: client ssh goes in time out - why?? Giorgio Corani wrote:
> dear all,
> I need to reach a remote machine (my slack 10.2 at office) via a ssh
> connection from home.
>
> At home, I have a slack10.2 laptop, connected to the internet via ADSL.
> If I boot the laptop in windows, the ssh client reaches without
> problems the remote machine.
>
> However, If I boot in linux, the ssh client does not reach the
> machine, and returns a "connection time out".
> The same if I try to connect to other machines, which the windows
> client is anyway able to reach.
>
> Therefore, the problem should be in the ssh configuration of my local
> machine.
> I have tried re-installing openssh, and the problem remains.
> I have checked the dependencies of the openssh package via swaret, and
> dependencies appear to be fine.
>
> What could be the problem???
>
> best regards
This may seem kind of silly, but... is the daemon running?
ps -ef | fgrep ssh
should show something like
root 4801 1 0 Nov24 ? 00:00:00 /usr/sbin/sshd
If not, make sure that /etc/rc.d/rc.sshd is executable (chmod 755
/etc/rc.d/rc.sshd), and start it with
/etc/rc.d/rc.sshd start
then try your connection.
As suggested by others, you should be able to ping the server you're
trying to connect with -- unless the machine is configured to not reply
to ping (which is a good idea -- keeps the script kiddies out of your
pants). You should be able to traceroute to it, though if it doesn't
respond to ping traceroute will just stop at the last connection.
That'll at least tell you that you're getting to the outside world cleanly. |