Hi, I have CentOS 4.3 running on my AMD Athlon XP(32 bit) PC and Windows 2000 running on my other Intel P3 PC(These 2 PCs are connected using a network switch). Basically I use the one running Linux as back end server and everything was fine so far. But recently I am experiencing some delay in loggin in to CentOS through SSH.
The Putty client which I use generally opens up asking for username prompt(no delay in that) but after entering the password it takes atleast 10-15 seconds gap before I logged in. It was fine before and I am sure I didn't made any changes to linux configuration. Can anyone please help me with this issue.
By the way I always use the IP address like($ ssh user@192.168.0.xxx without any hostname)
thanks Lin
On 4/3/06, siva m tech.sivam@gmail.com wrote:
Hi, I have CentOS 4.3 running on my AMD Athlon XP(32 bit) PC and Windows 2000 running on my other Intel P3 PC(These 2 PCs are connected using a network switch). Basically I use the one running Linux as back end server and everything was fine so far. But recently I am experiencing some delay in loggin in to CentOS through SSH.
The Putty client which I use generally opens up asking for username prompt(no delay in that) but after entering the password it takes atleast 10-15 seconds gap before I logged in. It was fine before and I am sure I didn't made any changes to linux configuration. Can anyone please help me with this issue.
By the way I always use the IP address like($ ssh user@192.168.0.xxx without any hostname)
This is where ssh is doing a reverse DNS lookup, which is failing and timing out. Set up DNS , or turn off the reverse lookup check in the sshd config. Of the two, setting up DNS is the best option, but involves a bit more work.
-- Any sufficiently advanced technology is indistinguishable from magic. -Arthur C. Clarke
Hi, Thanks for your reply. I just included 'VerifyreverseMapping No' inside /etc/ssh/sshd_config and when I tried to restart the sshd it says : ========================================= Starting sshd:/etc/ssh/sshd_config line 63: Deprecated option VerifyreverseMapping ========================================= Can you please advice what is the correct way to disable it.
thanks Lin
On 4/3/06, Jim Perrin jperrin@gmail.com wrote:
On 4/3/06, siva m tech.sivam@gmail.com wrote:
Hi, I have CentOS 4.3 running on my AMD Athlon XP(32 bit) PC and Windows
2000
running on my other Intel P3 PC(These 2 PCs are connected using a
network
switch). Basically I use the one running Linux as back end server and everything was fine so far. But recently I am experiencing some delay in loggin in to CentOS through SSH.
The Putty client which I use generally opens up asking for username prompt(no delay in that) but after entering the password it takes
atleast
10-15 seconds gap before I logged in. It was fine before and I am sure I didn't made any changes to linux configuration. Can anyone please help me with this issue.
By the way I always use the IP address like($ ssh user@192.168.0.xxxwithout any hostname)
This is where ssh is doing a reverse DNS lookup, which is failing and timing out. Set up DNS , or turn off the reverse lookup check in the sshd config. Of the two, setting up DNS is the best option, but involves a bit more work.
-- Any sufficiently advanced technology is indistinguishable from magic. -Arthur C. Clarke _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
========================================= Can you please advice what is the correct way to disable it.
Sure. A brief reading from TFM:
UseDNS: Specifies whether sshd should lookup the remote host name and check that the resolved host name for the remote IP address maps back to the very same IP address. The default is "yes".
If you're going to disable DNS lookups, set this to 'NO'.
-- Any sufficiently advanced technology is indistinguishable from magic. -Arthur C. Clarke
Thanks Jim. It worked.
-Lin
On 4/3/06, Jim Perrin jperrin@gmail.com wrote:
========================================= Can you please advice what is the correct way to disable it.
Sure. A brief reading from TFM:
UseDNS: Specifies whether sshd should lookup the remote host name and check that the resolved host name for the remote IP address maps back to the very same IP address. The default is "yes".
If you're going to disable DNS lookups, set this to 'NO'.
-- Any sufficiently advanced technology is indistinguishable from magic. -Arthur C. Clarke _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos