Ubuntu Geek

Ubuntu Linux Tutorials,Howtos,Tips & News | Gutsy,Hardy,Intrepid

  • RSS Feed

    subscribe to the ubuntu Geek RSS feed

  • Follow Us on Twitter

  • Sponsor


  • Categories

  • Meta

  • Sponsor

  • Archives

  • Support Ubuntugeek

    Amount $:
    Website(Optional):


  • Favourite Sites

Fix for SSH slow to ask for password in Ubuntu Feisty Fawn

Posted by admin on May 4th, 2007 Email This Post Email This Post

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

When you try to login using ssh some users might find asking for ssh password is slow here is the solution how to fix this problem.

Solution 1

Edit the /etc/ssh/ssh_config file using the following command

sudo vi /etc/ssh/ssh_config

Commentout the following lines

GSSAPIAuthentication yes
GSSAPIDelegateCredentials no

save the file and exit

Solution 2

If you got to System>Administration>Network

Now you should see similar to following screen here click the “General” tab

You need to Uncheck the option that says “Scan for available services and advertise . . .” and close

Now you can try to login using ssh you should see it will prompt for password immediately

Share/Save/Bookmark

Related Articles

8 Responses to “Fix for SSH slow to ask for password in Ubuntu Feisty Fawn”

  1. Tristan Rhodes Says:

    Thanks for the tip! I was wondering what was causing this. I went with Solution #2.

  2. Wonko the Sane Says:

    Are the two solutions doing the same thing? Should I follow both of them for additional security?

  3. admin Says:

    both will do the same you can use any one soulution

  4. Logix Says:

    Thanks for that tip.. The slowness was driving me nuts!

  5. ymai Says:

    Sorry. None of the two medications did solve the problem on neither of my two computers.

  6. jim Says:

    Yeah, this didn’t work for me either. I still have to wait 10-15 seconds for it to ask for a password. This is on my local network behind my firewall.

  7. jim Says:

    I finally got this fixed with a slightly different approach.

    https://answers.launchpad.net/ubuntu/+question/9146

    Added that config to the client and all is good now.

  8. Dan Says:

    You can also speed it up with a UseDNS no in sshd_config. (OpenSSH FAQ)

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>