安装和启用SSH
Kali默认是没有安装ssh和启用ssh的
我们需要先安装:apt install ssh
然后vim /etc/ssh/sshd_config
(如果不需要启用Root登陆可以跳过)
修改PermitRootLogin后面的内容为Yes并删除
开机启动
sudo systemctl enable ssh
写这篇文档之前就已经启用过了,所以...懂?
接着ifconfig查看一下自己的IP,就可以了。
ifconfig | grep inet
标签:启用,kali,ifconfig,自启,ssh,开机
From: https://www.cnblogs.com/M0x1n/p/kali-ssh-server.html