kali-静态IP配置
# vim /etc/network/interfaces 增加一下内容 auto thh0 inface eth0 inet static address 192.168.22.131 gateway 192.168.22.1 netmask 255.255.255.0 重启网卡 # ifconfig eth0 down # ifconfig eth0 up 开放22端口供远程连接 # vim /etc/ssh/ssh_config 修改 #22 为 22 或者 修改 #PermitRootLogin prohibit-password 为 permitRootLogin yes 重启ssh # service ssh start 开机启动 # systemctl enable --now ssh
经历使然,成功还是失败?
这是一个值得思考的问题... ...

浙公网安备 33010602011771号