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