1、ssh root失败
机器未修改permitrootlogin配置,修改/etc/ssh/sshd_config中PermitRootLogin为yes,并重启sshd服务即可systemctl restart sshd
2、“msg”: “Failed to connect to the host via ssh: root@192.168.5.252: Permission denied (publickey,password).”
目标机器未安装sshpass,sudo apt-get install sshpass
03-10
2743
06-22
1994
11-17
1万+