> Sorry for the bother

Not at all! The Community is here to help. Regarding your problem with
SSH:

The "resolution" you described seems more like working around the
problem. Changing "UseDNS" to "no" will simply prevent sshd from
commencing a reverse DNS lookup. The real issue is thereby circumvented,
not solved.

A lot of people are having similar DNS-related problems with Feisty, so
I strongly suspect that also in your case Avahi's mDNS is the real
culprit. Please try the following:

1. Undo your changes to /etc/ssh/sshd_config (that's what you meant when
you said sshd.conf, I suppose), i.e. remove the lines saying
"LoginGraceTime" and "useDNS".

2. In /etc/nsswitch.conf, replace the line
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
with
hosts: files dns

This will tell all nsswitch-aware programs (including SSH) to skip DNS
lookups via mDNS, probably speeding up the lookup process so that SSH
connection attempts won't hit the login grace time.

("LoginGraceTime" defaults to 120 seconds, by the way, so specifying
"20" probably didn't contribute to improving your situation.)

-- 
(bash) ssh to other systems fails to connect
https://bugs.launchpad.net/bugs/84849
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to