[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bewildering boot problem -- a little more info



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Oct 05, 2015 at 11:53:06AM -0600, Glenn English wrote:
> 
> On Oct 5, 2015, at 1:04 AM, tomas@tuxteam.de wrote:
> 
> > Then try "ssh <yourusername>@localhost".
> 
> Works, kinda. It does the same thing to localhost or the hostname, from the console or from a terminal in XFCE. (I've got SSH running with keys around the local net(s) (no login required)). The MOTD comes up right away, but there's a long delay before the shell prompt comes up. 

Hmm. Weird. I dimly remember that tcpwrappers did something
similar: to check the host name they sometimes tried a
reverse host lookup, which took its time when it failed.

But perhaps I'm up the wrong alley.

Possibly watching the connection attempt with tcpdump or
wireshark sheds light on this.

The behavour of ssh you describe is weird indeed -- the
MOTD must be coming from the server side, so the connection
is established already. As if the shell were checking something
before it decides to talk to you.

Hmmm. Sorry to be so unspecific.

regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlYSuRkACgkQBcgs9XrR2kanRACcDe2WUz17WUUBnX4nVmO3r+NM
ly4AnRXwUaIlYD5RqSw+lsflkqArgEf6
=WQFH
-----END PGP SIGNATURE-----


Reply to: