Kail_linux_x64 How to set up an SSH connection
UPDATE-RC.D SSH Enable
1. Close the lock screen
Click "Show Apps", search for setting, find "power" under Hardware, and select "Never" from "blank Screen".
(Kali exit directly after the selection, it does not have a certain button)
2. Start SSH service on boot
1, modify the Sshd_config file, the command is: vi/etc/ssh/sshd_config
2, remove #passwordauthentication no comment, and modify no to Yes // The default is Yes
3 in my Kali, remove comments from #permitrootlogin Yes//In my Kali, remove comments
4, start SSH service, command is:/etc/init.d/ssh Start//or service SSH start
5, verify the SSH service status, command:/etc/init.d/ssh status
One-time service ssh start or/etc/init.d/ssh start
Set boot service self-boot
Very simple, the command line executes directly:
UPDATE-RC.D SSH Enable
To turn off SSH service self-booting:
UPDATE-RC.D SSH Disabled
CentOS and Redhat System Setup service starts from boot
1: First check the boot up service list Chkconfig--list
2: If there is no need to add chkconfig--add in the list first httpd
3: After adding, you can see if it is powered on from boot chkconfig--list httpd
4: Ifhttpd0:off1:off2:off3:off4:off5:off6:Off all off indicates that the service is not booting from
5: You need to use the command chkconfig httpd on
About Linux system services boot-boot settings