Kali下安装ssh
此篇文章将解决Kali上安装ssh有问题的
更换阿里云来进行服务器的连接
root@kali:~# vim /etc/apt/sources.list
deb  http://mirrors.aliyun.com/kali kali-rolling main non-free contrib 
deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib   先更新 注意都在root用户下进行
apt-get update
apt-get install ssh  
启用ssh
systemctl enable ssh
开启服务
service ssh start
vim /etc/ssh/sshd_config 前两条更改 最后一条追加
PermitRootLogin yes
PasswordAuthentication yes
KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1  
重启服务
service ssh start
查看状态
service ssh status
 投递阿里巴巴集团等公司10个岗位
投递阿里巴巴集团等公司10个岗位