Linux登录ssh携带密码

会哭的雨 2020-06-27

1.安装 sshpass

apt-get install sshpass

2.携带密码登录

sshpass -p ‘12345678‘ ssh

相关推荐