sshpass使用 UbuntuMACWindows Ubuntu 安装:sudo apt-get install sshpass 使用:sshpass -p “xxx” ssh user@ip 好处:写到shell脚本,快速登录远程机器,不用copy密码了。 MAC Windows