PDA

View Full Version : SSH service has to be restarted after every reboot



brunoaduarte
2015-12-04, 04:35
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:


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

reidamaxia
2015-12-04, 06:30
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

Crash
2015-12-04, 08:23
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

brunoaduarte
2015-12-04, 15:50
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 !