Kali 2.0 Login with SSH connection

Source: Internet
Author: User

Kali Gnu/linux 2.0 \ \l


After installing kali2.0 with SSH remote connection altogether "unable to connect" will appear, the following situation to resolve the problem



The first step: Edit an SSH configuration file


[Email protected]:~# vim /etc/ssh/sshd_config


650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/7C/68/wKiom1bP6jiiV-t8AABB2JWmWDI310.png "title=" Image001.png "alt=" Wkiom1bp6jiiv-t8aabb2jwmwdi310.png "/>


Step Two: Restart the SSH service


[Email protected]:~# /etc/init.d/ssh Restart

[ OK ] Restarting SSH (via Systemctl): Ssh.service.

Step Three: add the SSH service as a system auto-start


Method One: sysv-rc-conf


[Email protected]:~# sysv-rc-conf--help

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/7C/67/wKioL1bP6ubSUZ-3AAA0ROSlJ3I381.png "title=" Image003.png "alt=" Wkiol1bp6ubsuz-3aaa0roslj3i381.png "/>

method Two: Update-rc.d


[Email protected]:~# update-rc.d--help

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/7C/69/wKiom1bP6rqg41wEAAA36Y16mSQ839.png "title=" Image005.png "alt=" Wkiom1bp6rqg41weaaa36y16msq839.png "/>


650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7C/67/wKioL1bP6zvAt1RIAAA-Cp1Xl4o886.png "title=" Image007.png "alt=" Wkiol1bp6zvat1riaaa-cp1xl4o886.png "/>



This article is from the "Rslinux" blog, make sure to keep this source http://readshlinux.blog.51cto.com/9322509/1745275

Kali 2.0 Login with SSH connection

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.