You are not logged in.

#1 2010-04-29 21:08:34

fax8
Member
From: Italy
Registered: 2006-03-14
Posts: 104
Website

[solved] sshd doesn't start on boot, but only if launched after

Hi guys,

I'm facing a pretty strange issue here.. I'm unable to automatically start sshd on boot. It is inserted in the DAEMONS var in rc.conf.. but it won't start. The strange thing is that once I run /etc/rc.d/sshd start it start and work correctly.

My DAEMONS line is the following:

DAEMONS=(syslog-ng @acpid @cpufreq @named @crond dbus hal fam wicd @samba @httpd @mysqld sshd)

Thanks for your time,

Fabio Varesano

Last edited by fax8 (2010-04-29 22:03:31)

Offline

#2 2010-04-29 22:03:15

fax8
Member
From: Italy
Registered: 2006-03-14
Posts: 104
Website

Re: [solved] sshd doesn't start on boot, but only if launched after

Ops, I think I found the solution!

In my sshd_config I had ListenAddress 192.168.1.5 where that ip is obtained with wicd..
Probably wicd takes some time in setting up the network (thats a wpa2 wifi then some login overhead is expected) and sshd launched without having any 192.168.1.5 address to bind to.. and then it would exit or simply bind to localhost or something.

Thanks anyway for your help!

Fabio Varesano

Offline

Board footer

Powered by FluxBB