Linux登录ssh携带密码

1.安装 sshpass

apt-get install sshpass

2.携带密码登录

sshpass -p '12345678' ssh root@ip
原文地址:https://www.cnblogs.com/xuefy/p/13199425.html