OpenSSH name resolving problems

Gil Disatnik Jewnix at
Sun Oct 14 01:54:55 EST 2001

>The server end is stalling on a reverse lookup. You can switch this
>behaviour off (read the manpage).

- I believe this is not correct, as I noticed that in case of timeout in 
reverse lookup
I am being stalled right after:
debug1: channel 0: open confirm rwindow 0 rmax 16384

When testing ssh between 2 different machines this is what happens:
root at machine2:~# ssh machine1 -v -v -v
debug1: Reading configuration data /usr/local/etc/ssh_config
debug1: Seeding random number generator
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: restore_uid
debug1: ssh_connect: getuid 1000 geteuid 0 anon 1

when running:
root at machine2:~# ssh <ip of machine1> -l root -v -v -v
Everything works fine... don't tell me the other side knows if I had to 
resolve it's IP before ;)

Remember - I have no active DNS working at these machines and 
/etc/resolve.conf had some DNS entries, but /etc/nsswitch.conf shows files 
before DNS... and of course I am having machine1's IP at /etc/hosts of 
machine2 and vice versa.

Another interesting test I have performed:
In my other machine I have commented out all entries at /etc/resolve.conf.
When running ssh localhost -v -v -v - everything works fine. When I 
uncommented the entries - I got the a few seconds delay from the DNS (when 
it told me that it can't resolve localhost...)

> > P.S - I am still waiting for any answer regarding my previous question
> > about the fact that I can't exit from a shell when I have background
> > jobs... It is really important... please help me here...
>This has been discussed at length, check the archives.

Yes, I saw it, thanks and sorry... The other issue I was crying about a few 
months ago (wrong returned code when running a remote application (gives 
back 255) is being discussed as well at last, ;))

>| Damien Miller <djm at> \ ``E-mail attachments are the poor man's
>|          /   distributed filesystem'' - Dan Geer


Gil Disatnik
UNIX system/security administrator at netish inc.

GibsonLP at EFnet
"Windows NT has detected mouse movement, you MUST restart
your computer before the new settings will take effect, [ OK ]"
Windows is a 32 bit patch to a 16 bit GUI based on a 8 bit operating
system, written for a 4 bit processor by a 2 bit company which can
not stand 1 bit of competition.

More information about the openssh-unix-dev mailing list