Advertisement: Linux VPS from $4/month - contact support for custom offer.
+ Post New Thread
Results 1 to 2 of 2

Thread: How to start ssh or other service at boot (Debian , Ubuntu)

  1. #1
    Join Date
    Mar 2013

    How to start ssh or other service at boot (Debian , Ubuntu)

    How on Debian based Linux (ubuntu) one can make service start at boot/restart?

    I found this command:

    ln -s /etc/init.d/ssh /etc/rc2.d/S18ssh

    It is applicable for SSH

    also there is command:

    update-rc.d ssh defaults

    but it told me:
    "update-rc.d: warning: ssh stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (none)"
    so i tried above mentioned command (making symbolic link) instead

  2. #2
    Junior Member gexacor's Avatar
    Join Date
    Jul 2016

    Is this useful / helpfull? Yes | No
    You need to edit '/etc/init.d/ssh' file and check if runlevel 6 included at both start and stop values.
    That means that your service will be stopped and the begin of reboot and started after reboot.

    Then you need to run 'update-rc.d ssh defaults'

+ Post New Thread

Similar Threads

  1. Replies: 0
    Last Post: 10-16-2016, 07:03 AM
  2. Replies: 0
    Last Post: 03-06-2015, 08:37 AM
  3. Replies: 0
    Last Post: 11-03-2014, 07:44 PM
  4. Replies: 0
    Last Post: 11-04-2013, 04:57 PM
  5. Replies: 0
    Last Post: 08-21-2013, 10:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
 Protected by : ZB BLOCK  &  StopForumSpam