Results 1 to 4 of 4

Thread: SSH service has to be restarted after every reboot

  1. #1

    SSH service has to be restarted after every reboot

    Hi,

    I'm running Kali 2.0 Live USB (with persistence), and everytime i reboot my laptop i have to manually restart ssh service after the boot by running:

    Code:
    service ssh restart
    otherwise my remote computer get's a CONNECTION REFUSED message, it only connects after i manually restart ssh

    Is this a known issue ? Is there a way to fix this ?

    Thanks

  2. #2
    Join Date
    2015-Oct
    Location
    Switzerland
    Posts
    33
    Hi there

    Could you post your auth.log right after you tried to connect via ssh?
    Also the output of "service ssh status" please (after connection too)!

    regards, reidamaxia

  3. #3
    Join Date
    2013-Dec
    Location
    Krakow
    Posts
    67
    Hi!
    Its not a issue, if you read the documentation:

    2- Network services disabled by default: Kali Linux contains sysvinit hooks which disable network services by default. These hooks allow us to install various services on Kali Linux, while ensuring that our distribution remains secure by default, no matter what packages are installed. Additional services such as Bluetooth are also blacklisted by default.


    Then, you need to configure/enable it to start on boot(linux basics):

    #systemctl enable ssh

  4. #4
    Quote Originally Posted by Crash View Post
    Hi!
    Its not a issue, if you read the documentation:

    2- Network services disabled by default: Kali Linux contains sysvinit hooks which disable network services by default. These hooks allow us to install various services on Kali Linux, while ensuring that our distribution remains secure by default, no matter what packages are installed. Additional services such as Bluetooth are also blacklisted by default.


    Then, you need to configure/enable it to start on boot(linux basics):

    #systemctl enable ssh
    It worked. Thanks !

Similar Threads

  1. Replies: 2
    Last Post: 2022-10-11, 11:24
  2. Replies: 3
    Last Post: 2020-01-14, 14:57
  3. Postgresql service wont start after reboot.
    By kalipi2 in forum ARM Archive
    Replies: 0
    Last Post: 2015-05-24, 09:28

Posting Permissions

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