LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   ssh connection time out (https://www.linuxquestions.org/questions/linux-server-73/ssh-connection-time-out-898703/)

cnt 08-22-2011 12:37 AM

ssh connection time out
 
since last 3 month iam able to ssh to DR server from fileserver.but today when i check rsync result for transferring file to DR server.result show

ssh: connect to host DRserver(x.x.x.x) port 22: Connection timed out
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(463) [sender=2.6.8]

when i run ssh x.x.x.x it tooks time and results connectin timed out..

i run the command

#lsof -i :22




COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
sshd 2437 root 3u IPv6 8488 TCP *:ssh (LISTEN)
sshd 8011 root 3u IPv6 1888978 TCP fileserver:ssh->x.x.x.x:alia s (ESTABLISHED)
sshd 8257 root 3u IPv6 1890157 TCP fileserver:ssh->x.x.x.x:seag ull-ais (ESTABLISHED)
ssh 9099 root 3u IPv4 1892721 TCP fileserver:58086->x.x.x.x:s sh (SYN_SENT)



iam not geeting the problem of ssh..

dinakumar12 08-22-2011 01:39 AM

Hi,

Check some basic things like, whether you can ssh from your dr server to file server,iptables,and check whether ssh service runs with no problem in you fileserver.

cnt 08-22-2011 02:53 AM

i checked for DR server it can ssh.
actually network firewall blocked ssh.now i can ssh.it solved.


All times are GMT -5. The time now is 02:03 PM.