Results 1 to 2 of 2

Thread: ssh slow to connect

  1. #1
    Join Date
    Dec 2006
    Beans
    27

    ssh slow to connect

    Karmic, i386, Thinkpad R52, ssh client takes a long time to connect to my work machine. Here's verbose output of the command. It hangs at the last line for what appears to be exactly 20 seconds and then proceeds normally with the connection. I've disabled ipv6 at the kernel level, no change. Server side accepts connections normally from other machines. Tried setting UseDNS no in /etc/ssh/ssh_config, no change.

    (mathlap1)~> ssh -vvv carrot.whitman.edu
    OpenSSH_5.1p1 Debian-6ubuntu2, OpenSSL 0.9.8g 19 Oct 2007
    debug1: Reading configuration data /home/schuelaw/.ssh/config
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug1: Applying options for *
    debug2: ssh_connect: needpriv 0

  2. #2
    Join Date
    Dec 2006
    Beans
    27

    Re: ssh slow to connect

    Solved it by setting:

    AddressFamily inet

    in /etc/ssh_config.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •