ssh delays on trixbox 01.06.2008 23:56
Printer Friendly

I had some ssh problems on my trixbox installations. Each time I try to connect to the trixbox using ssh I had some delay. The classical solution for this is to disable the reverse DNS lookups by changing the line in /etc/ssh/sshd_config to:

UseDNS no

But in this case, this didn't solve my problem. I ran my connection wth verbosity.

ssh -vvv some.host.com

I had a delay in this step:

debug1: Next authentication method: gssapi-with-mic
debug1: Unspecified GSS failure.  Minor code may provide more information
No credentials cache found
debug1: Unspecified GSS failure.  Minor code may provide more information
No credentials cache found
debug1: Unspecified GSS failure.  Minor code may provide more information

AFAIK, this is related to openssh kerberos authentication. This is something that I really really don't need. So I disabled in /etc/ssh/sshd_config the lines:

# GSSAPI options
#GSSAPIAuthentication no
#GSSAPIAuthentication yes
#GSSAPICleanupCredentials yes
#GSSAPICleanupCredentials yes

After the restart, there was no delay. ; ) Even with the "UseDNS yes". 

Back to Eblog

Latest two blog entries:
Weird Java Time problem
Lotus Notes Sametime with Pidgin (or gaim)


Make a comment!
Comments will be approved first to prevent suckers to misuse/abuse my comments section. So, there is a delay!
No html tags are allowed. Text is your friend ;)
I will never use your email for bad purposes, so, chill.. ;)

Date: 05.16.2008 22:40
Name:
Email:
URL:
Subject:
Comment:
Please type the number you see in this picture to the box below.