kali中开启22端口 kali中开启22端口进入/etc/ssh/sshd_config中#PasswordAuthentication no 注释去掉,修改为yes,kali中默认为yes将PermitRootLogin without-password修改为PermitRootLogin yes然后保存退出启动ssh服务/etc/init.d/ssh start