SSHD failing on restart

Andrew Gray andrewg at linnetsol.co.uk
Sat Jun 9 16:27:39 UTC 2012


On Sat, 2012-06-09 at 15:09 +0200, Reindl Harald wrote:
> 
> Am 09.06.2012 14:53, schrieb Andrew Gray:
> > /var/log/secure shows it can't bind:-
> > 
> >> linuxmail sshd[804]: error: Bind to port 22 on 192.168.191.9 failed: Cannot assign requested address.
> >> linuxmail sshd[804]: fatal: Cannot bind any address
> 
> sounds like network is not already up at this moment
> it would be nice if people would post their configuration
> 
> currently i can only guess you changed /etc/ssh/sshd_config
> from "ListenAddress 0.0.0.0" to "ListenAddress 192.168.191.9"
> 
> if so - why?!
> 
> 

It is wired connectionwith fixed IP address 

Very difficult to do a :-

Try "ss -l -p -n | fgrep 22"

As once the system is up port 22 isn't being used as I can restart
sshd.service and it works. 
Just doesn't bind during startup !


-- 

-Regards

Andrew Gray

***************************************************
Linnet Solutions Ltd
56 The Street,
Bridgham,
Norwich,
Norfolk,
England
NR16 2RS
Tel: 01379 687539
Mobile: 07778 280335
SIP: P0 at 82.69.96.133
Email: andyg at linnetsol.co.uk
http://www.linnetsol.co.uk
OpenPGP Key: http://www.linnetsol.co.uk/andyg-gpg.html
***************************************************

--
This message is intended only for the use of the person(s)
"Intended Recipient" to who it is addressed. It may contain
information, which is privileged and confidential. Accordingly any
dissemination, copying or other use of this message or any of its
content by any person other than the Intended Recipient may constitute a
breach of civil or criminal law and is strictly prohibited. If you are
not the Intended Recipient, please contact (44) 1379 687539 (the sender)
as soon as possible.

--Viruses
Please also note while every attempt has been made to prevent the
transmission of a virus in this email, it is your responsibility to scan
this e-mail and any attachments for viruses.



More information about the users mailing list