linuxpakistan.net Forum Index linuxpakistan.net
LinuxPakistan.net discussion forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

slow ssh connections?

 
Post new topic   Reply to topic    linuxpakistan.net Forum Index -> Howto's & Tip n' Tricks
View previous topic :: View next topic  
Display posts from previous:    
Author Message
lambda
Major General


Joined: 27 May 2003
Posts: 3344
Location: Lahore

PostPosted: Wed May 16, 2007 1:41 am    Post subject: slow ssh connections? Reply with quote

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:
GSSAPIAuthentication yes
GSSAPIDelegateCredentials no


turning them off will speed things up considerably. stick something like this into your ~/.ssh/config file:
Code:
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:
Host *
        Compression yes
Back to top
View user's profile Send private message Visit poster's website
hameedkhan
Havaldaar


Joined: 07 Apr 2004
Posts: 141
Location: Karachi, Pakistan

PostPosted: Wed May 16, 2007 2:40 am    Post subject: Reply with quote

Thanks lambda, this was really helpful for me.

Thanks once again.
_________________
Thanks,
Hameed U. Khan
Linux User #: 354374
Back to top
View user's profile Send private message
salmanslick
Lance Naik


Joined: 20 Apr 2007
Posts: 22
Location: Law WhoR3

PostPosted: Mon Jun 18, 2007 5:23 am    Post subject: nice one Reply with quote

hope this helps !!!!
_________________
0346-4718990 salman slick Razz
Back to top
View user's profile Send private message Yahoo Messenger
lambda
Major General


Joined: 27 May 2003
Posts: 3344
Location: Lahore

PostPosted: Mon Jun 18, 2007 2:07 pm    Post subject: Reply with quote

what's there to hope for? it works.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    linuxpakistan.net Forum Index -> Howto's & Tip n' Tricks All times are GMT + 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group