SSHD wont start at boot

So I have looked everywhere, I see the ssh script in /etc/init.d everything seems to check out with chkconfig (shows 3 and 5). But for some reason my SSHD server doesn’t start on boot till I run either rcsshd start or /etc/init.d/ssh start

Thanks

Hi,

In terminal, do this :

chkconfig -f --add sshd
SuSEconfig /etc/init.d/sshd start

on next reboot, ssh should start automatically. :slight_smile:

On 03/30/2011 06:06 PM, partyk1d24 wrote:
>
> my SSHD server doesn’t start on boot

As you may have seen in many threads here, the first question after
such a post as yours is always: what openSUSE level?

i will assume you are using openSUSE 11.4, 11.3 or 11.2 and KDE4:

-open YaST
-go System (on left)
-then System Services on right
-in the new window, Expert Mode
-scroll to sshd
-click to select sshd
-set the run levels in which you wish sshd to be active
-click ok

should work…let us know…


CAVEAT: http://is.gd/bpoMD
Tried LibreOffice? Do that and help at http://is.gd/dZ9j2W
[NNTP via openSUSE 11.3 + KDE4.5.5 + Thunderbird3.1.8]

For some reason my first post didn’t go but the problem was in my /etc/ssh/sshd_config(?) I needed to use 0.0.0.0 instead of my IP address. Could this be related to the fact that it is a VM and networking is done a little wanky?

^
0.0.0.0=listen address

On 03/30/2011 07:06 PM, partyk1d24 wrote:
>
> For some reason my first post didn’t go but the problem was in my
> /etc/ssh/sshd_config(?) I needed to use 0.0.0.0 instead of my IP
> address. Could this be related to the fact that it is a VM and
> networking is done a little wanky?

i suppose the above means you solved the problem…
congrats!

please, if you post another problem include the relevant information
about your environment there as no one here has insight into all the
various things you may or may not be dealing with there (like
operating system, version, desktop environment, if using a VM that is
needed info…and the host…and, etc…)


CAVEAT: http://is.gd/bpoMD
Tried LibreOffice? Do that and help at http://is.gd/dZ9j2W
[NNTP via openSUSE 11.3 + KDE4.5.5 + Thunderbird3.1.8]

On 2011-03-30 19:06, partyk1d24 wrote:
>
> For some reason my first post didn’t go but the problem was in my
> /etc/ssh/sshd_config(?) I needed to use 0.0.0.0 instead of my IP
> address. Could this be related to the fact that it is a VM and
> networking is done a little wanky?

I don’t see the need to edit that file… mine has that entry commented out.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

The default behavior of sshd is to bind to all network interfaces. You do not need the “listen address” line at all if binding to all interfaces is what you want.