Results 1 to 8 of 8

Thread: SSHD wont start at boot

  1. #1

    Default 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

  2. #2
    Join Date
    Jul 2009
    Location
    Montreal, Québec
    Posts
    833

    Default Re : SSHD wont start at boot

    Hi,

    In terminal, do this :

    1.
    Code:
    chkconfig -f --add sshd
    2.
    Code:
    SuSEconfig /etc/init.d/sshd start
    on next reboot, ssh should start automatically.

  3. #3
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: SSHD wont start at boot

    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]

  4. #4

    Default Re: SSHD wont start at boot

    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 ****y?

  5. #5

    Default Re: SSHD wont start at boot

    ^
    0.0.0.0=listen address

  6. #6
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: SSHD wont start at boot

    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 ****y?


    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]

  7. #7
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: SSHD wont start at boot

    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 ****y?


    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)

  8. #8
    Join Date
    Mar 2011
    Location
    Upstate NY
    Posts
    11

    Default Re: SSHD wont start at boot

    Quote Originally Posted by partyk1d24 View Post
    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 ****y?
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •