On Wednesday 05 July 2006 14:31, Sergio Belkin wrote:
>Hi list:
>
>I don understand why it fails when v_sshd starts, this is
>the /var/log/messages:
>
>
>Jul  5 09:29:21 hibernia sshd[8430]: error: Bind to port 22 on 192.168.1.5
>failed: Cannot assign requested address.
>Jul  5 09:29:21 hibernia sshd[8430]: fatal: Cannot bind any address.
>Jul  5 09:29:21 hibernia sshd: startup succeeded

It fails because another process is already listening to 0.0.0.0:22 (probably 
on the host).

Try to bind your hosts sshd to Listen only to a single IP fex. by adding

ListenAddress 192.168.1.1

to your hosts /etc/ssh/sshd_config file (or any other place depending on your 
chosen distribution).

Restart sshd and try it again.

-- 
Christian Heim <[EMAIL PROTECTED]>
Gentoo Linux Developer - vserver/openvz

Attachment: pgpATbO4WKGfI.pgp
Description: PGP signature

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to