Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: can't stop sshd from startup

  1. #11
    Join Date
    Jun 2008
    Location
    Netherlands
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: can't stop sshd from startup

    Your welcome;

    I was not able to figure out an other way.. took me long enough to figure this out.
    Reading the ssh scripts....
    When your thread it solved: go to thread tools > Mark this thread as solved
    for SIS 771/671 use xcompmgr to have transparent terminals. just load it at startup.

    And then they asked: what's a pbkac error?

  2. #12
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    7,701

    Re: can't stop sshd from startup

    For Lucid, the ssh server is started by upstart which runs scripts in /etc/init. The script /etc/init/ssh.conf is the file you need to edit. I think that commenting out the line start on filesystem by putting a hash in front will probably do the trick.

    But reading that script further, it looks like creating a file /etc/ssh/sshd_not_to_be_run is the way you should do it, but I don't know if that will prevent starting the daemon when you want it with sudo start ssh.

  3. #13
    Join Date
    Jun 2008
    Location
    Netherlands
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: can't stop sshd from startup

    I've been looking like crazy for a simple line like that;

    lol.

    I'll leave the testing to w4rh4wk...
    Last edited by mhgsys; June 30th, 2010 at 11:24 PM.
    When your thread it solved: go to thread tools > Mark this thread as solved
    for SIS 771/671 use xcompmgr to have transparent terminals. just load it at startup.

    And then they asked: what's a pbkac error?

  4. #14
    Join Date
    Jun 2008
    Beans
    17

    Re: can't stop sshd from startup

    Quote Originally Posted by mhgsys View Post
    I'll leave the testing to w4rh4wk...
    it works perfectly this way

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

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