The sshd is working fine now.

I've change few things.

First I figured out that I can connect to localhost by not to madryt

Next I've changed order of ListenAddress in /etc/ssh/sshd_config

ListenAddress 192.168.1.66
ListenAddress 127.0.0.1

After some times I understood that ssh complains about bind and found that I 
had made a mistake in /etc/hosts
I'm not sure what was earlier probably 

127.0.0.1       localhost       madyt

or sth. similar but now I have

127.0.0.1       localhost       madryt
192.168.1.66    madryt.home     madryt

I'm not sure if I was blind and I didn't see message about problems with
bind or I change something and this message started to appear. I also
don't understand why manually restart of ssh demon were resolving the
issue...

-- 
sshd doesn't start properly
https://bugs.launchpad.net/bugs/241796
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to