slow ssh connections?

Share your expert knowledge and show off your skills.

slow ssh connections?

Postby lambda » Wed May 16, 2007 12:41 am

if you've noticed a slowdown in making ssh connections with newer distributions, and if "ssh -v somehost" says something about a missing credentials cache, look in /etc/ssh/ssh_config for

Code: Select all

GSSAPIAuthentication yes
GSSAPIDelegateCredentials no


turning them off will speed things up considerably. stick something like this into your ~/.ssh/config file:

Code: Select all

Host *
        GSSAPIAuthentication no
        GSSAPIDelegateCredentials no


you could change /etc/ssh/ssh_config, but your changes might be overwritten by the next install/upgrade of the openssh-client package.

note that this only speeds up the connection process, not the connection itself. you can make your connection a bit faster on slow links (like dialup) with compression:

Code: Select all

Host *
        Compression yes
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

Postby hameedkhan » Wed May 16, 2007 1:40 am

Thanks lambda, this was really helpful for me.

Thanks once again.
Thanks,
Hameed U. Khan
Linux User #: 354374
hameedkhan
Havaldaar
 
Posts: 141
Joined: Wed Apr 07, 2004 12:58 am
Location: Karachi, Pakistan

nice one

Postby salmanslick » Mon Jun 18, 2007 4:23 am

hope this helps !!!!
0346-4718990 salman slick :P
salmanslick
Lance Naik
 
Posts: 22
Joined: Fri Apr 20, 2007 4:30 pm
Yahoo Messenger: emcee_slim
Location: Law WhoR3

Postby lambda » Mon Jun 18, 2007 1:07 pm

what's there to hope for? it works.
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore


Return to “%s” Howto's & Tip n' Tricks

Who is online

Users browsing this forum: No registered users and 1 guest

cron