OpenWrt Forum Archive

Topic: SSH login has delays "An invalid name was supplied"

The content of this topic has been archived on 22 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi!

Logging into my WhiteRussian over SSH makes 10 second delays when done from certain clients.
It only happens for certain clients, like OpenSSH_4.3p2 , but not PuTTY.

the interesting part of client output with the -v option is this:

debug1: Local version string SSH-2.0-OpenSSH_4.3p2 Debian-9
debug1: An invalid name was supplied
Cannot determine realm for numeric host address

debug1: An invalid name was supplied
A parameter was malformed
Validation error

debug1: An invalid name was supplied
Cannot determine realm for numeric host address

debug1: An invalid name was supplied
A parameter was malformed
Validation error

debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received


The delay is always before the "debug1: An invalid name was supplied" lines.
After that the login goes on normally.

Is there a way to turn one debugging or more verbose logging in dropbear ?
Anyone know a solution?

I have White Russion 0.9 final
with dropbear 0.48.1-1

SSH client is "openssh-client           4.3p2-9"  on debian 4.0

Regards,
David

Aha,  it is due to option GSSAPIAuthentication set to yes in the ssh_config file.

Overriding it with command line option "-o GSSAPIAuthentication\ no" makes the delay go away.

I've seen the 10 seconds delay on Ubuntu Feisty Fawn 7.04 too while connecting to my OpenWrt router via SSH. The solution was to change one line in /etc/nsswitch.conf on Ubuntu.

hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4

to

hosts:          files dns

(Last edited by forum2006 on 6 Sep 2007, 14:35)

The discussion might have continued from here.