kali2.0 using SSH for remote login

Source: Internet
Author: User

Tools/Materials
    • Kali 2.0

    • Ssh

    • SSH Connection tool (Xshell)

First, configure the SSH parameters

To modify the Sshd_config file, the command is:

Vi/etc/ssh/sshd_config

Remove the comment for #passwordauthentication No and modify No to Yes//kali default Yes

Change the Permitrootlogin Without-password revision to

Permitrootlogin Yes

Then, save, exit vim

Second, start the SSH service

The command is:

/etc/init.d/ssh start

Or

Service SSH Start

To see if the SSH service status is working correctly, the command is:

/ETC/INIT.D/SSH status

Or

Service SSH Status


Third, log in using the SSH login tool (Putty\securecrt\xshell) Kali

Then use the SSH Connection tool to reconnect Kali, successful!

Iv. setting up the system to automatically start the SSH service

Method One:

Sysv-rc-conf

Sysv-rc-conf--list | grep ssh

sysv-rc-conf SSH on//system automatically start SSH service

sysv-rc-conf ssh off//Shut down system automatically start SSH service

Method Two:

UPDATE-RC.D SSH enable//system automatically start SSH service

UPDATE-RC.D SSH disabled//Shut down system to start SSH service automatically

kali2.0 using SSH for remote login

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.