Re: SSH times out - "Server unexpectedly closed network connection"

From: David Kelly (dkelly_at_hiwaay.net)
Date: 08/31/05

  • Next message: Dark Star: "server name QDN"
    Date: Wed, 31 Aug 2005 14:53:31 -0500
    To: "Robert G." <rob5g@adelphia.net>
    
    

    On Wed, Aug 31, 2005 at 03:33:27PM -0400, Robert G. wrote:
    > SSH doesn't appear to be working on my remote server. I can connect
    > fine, and am prompted with "login as: " with Putty, but when I enter my
    > username it sits and hangs there for about a minute before a message
    > comes up that says "Server unexpectedly closed network connection". SSH
    > was working fine this morning around 11am. I just got back and now it's
    > hanging. The only changes to the /etc/ssh/sshd_config that I made were
    > to add my one user account. I rebooted and it worked fine this morning,
    > so I don't know what the problem is now as I haven't touched it.
    >
    > Any ideas?

    DNS. Sshd is not finding you in DNS before it gives up. Change "UseDNS"
    in /etc/ssh/sshd_config to "no" from "yes", restart sshd, and my guess
    is your problem will disappear.

    -- 
    David Kelly N4HHE, dkelly@HiWAAY.net
    ========================================================================
    Whom computers would destroy, they must first drive mad.
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Dark Star: "server name QDN"

    Relevant Pages

    • Re: connect XP pro to domain
      ... I can ping the domain, I can nslookup the domain but I still cannot join the domain. ... I still get wrong username or password. ... I have manged to setup the dhcp server scope on the domain and Ican assure that the IP address on my XP computer is the one allocated by the domain so it show the connectivity is there but when it comes to joining the domain I simply cant join the domain. ... First try and fix your DNS issues. ...
      (microsoft.public.cert.exam.mcse)
    • Re: HELP! Really strange problem w/AD and LDAP/LDIFDE
      ... UPN username and perhaps that is behaving weirdly in this environment due to ... receives the simple bind. ... What we're thinking is that if THAT is the case, and if the DNS ... like when the simple LDAP bind is ...
      (microsoft.public.windows.server.active_directory)
    • authentication varies based on web address
      ... - if i type in the dns name, i get the user login ... (username, pwd, domain), it's the 2 text box login screen. ...
      (microsoft.public.inetserver.iis.security)
    • Re: Authentication problems when not on local network
      ... What I want to do is be able to connect the laptop to other subnets at my ... laptop gets company DNS servers and "company.com" DNS via DHCP. ... When I try to connect to the file server via IP address (as the local name ... username and password. ...
      (microsoft.public.windows.server.networking)
    • Re: connect XP pro to domain
      ... contoso domain. ... and all these have failed with same result wrong username and password. ... First try and fix your DNS issues. ... because you are using your ISP's DNS (on the clients). ...
      (microsoft.public.cert.exam.mcse)