sshpass 配置密码登录ssh

tar -zxvf sshpass-1.06.tar.gz
cd sshpass-1.06
./configure
make && make install

 

sshpass -p userpassword ssh***

sshpass -f userpassword.file ssh***

posted @ 2017-07-05 12:17  澄轶  阅读(1030)  评论(0编辑  收藏  举报