ssh problem
I have just install Redhat 4 to server , I found that when I use ssh ( i.e. ssh -l root server_name ) to connect it , it need a few seconds to return the password prompt , it is quite slow response , the ping time is "time=0.316 ms" , it is normal , and no firewall is enabled , the other server do not have the same problem ,
can advise what will be the possible reason of the problem ? Thanks. |
Quote:
Code:
1. misconfiguration of hosts and resolv.conf file Code:
#vi /etc/ssh/sshd_config |
Quote:
Thanks. |
Quote:
Code:
ListenAddress 0.0.0.0 |
Hello,
There are two methods to speed up SSH connection 1, As already told #vi /etc/ssh/sshd_config UseDns no 2, Force SSH to use only IPv 4 #vi /etc/ssh/ssh_config AddressFamily inet Use this command to SSH #ssh -4 username@hostname Try works g8 in Ubuntu, let me know how it works in Redhat |
Quote:
|
All times are GMT -5. The time now is 12:54 AM. |