gnu/81689: Unable to connect via SSH using protocol v2

Ruslan Ermilov ru at freebsd.org
Tue May 31 00:18:11 PDT 2005


On Tue, May 31, 2005 at 06:00:16AM +0000, Xin LI wrote:
>  It appears in my sshd_config(5):
>  
>  %%% %%%
>       UseDNS  Specifies whether sshd should lookup the remote host name=20
>               and check that the resolved host name for the remote IP=20
>               address maps back to the very same IP address.  The default
>               is ``yes''.
>  %%% %%%
>  
>  And also the source code of sshd(8):
>  
>  %%% %%%
>  [delphij at spirit] /usr/src/crypto/openssh# grep UseDNS sshd_config
>  #UseDNS yes
>  %%% %%%
>  
>  So let's give the option a try :-)  In addition, what OpenSSH version
>  are you running?  (try "telnet localhost 22")
>  
# diff -u /usr/src/crypto/openssh/sshd_config /etc/ssh/sshd_config
--- /usr/src/crypto/openssh/sshd_config Thu Oct 28 19:11:28 2004
+++ /etc/ssh/sshd_config        Sat May 21 06:56:32 2005
@@ -97,7 +97,7 @@
 #Compression yes
 #ClientAliveInterval 0
 #ClientAliveCountMax 3
-#UseDNS yes
+UseDNS no
 #PidFile /var/run/sshd.pid
 #MaxStartups 10


-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-bugs/attachments/20050531/e7124a08/attachment.bin


More information about the freebsd-bugs mailing list