2
Why is it that I can ssh into another server but when I tried to ssh but it goes into timeout and failed?
ubi@xserver: ssh lil@yserver
Password:
Last login: Thu Jan 30 16:10:39 2014 from xserver
lil@yserver:~> ssh ubi@xserver
_
I've tried ssh with option -A
but it's not working:
lil@yserver:~ # ssh -A ubi@xserver
^C
The ssh daemon is running:
lil@yserver:~ # rcsshd reload
Reload service sshd
done
lil@yserver:~ # rcsshd restart
Shutting down the listening SSH daemon
done
Starting SSH daemon
done
lil@yserver:~ # ssh ubi@xserver
^C
What have you tried? Did you try finding in
man ssh
that there exists a verbose mode? – 174140 – 2014-01-30T15:22:07.3371Are you sure xserver is running sshd? – None – 2014-01-30T15:25:39.850
I agree with Slowki - could be that sshd isnt running on xserver or xserver has a firewall running that's blocking port the ssh port (usually 22) – FreudianSlip – 2014-01-30T15:38:48.470
On xserver run
ps ax | grep ssh
andiptables -L
and you can answer both of FreudianSlip's questions :) – NickW – 2014-01-30T16:15:15.9131Try running ssh with
-vvv
to show where it's sticking. – Nathan C – 2014-01-30T16:22:01.873