[-w local_tun[:remote_tun]] [user@]hostname [command] 于是google,找到sshpass sshpass:用于非交互的ssh 密码验证,允许你用 -p 参数指定明文密码,然后直接登录远程服务器。 它支持密码从命令行,文件,环境变量中读取。 首先在机器上安装sshpass 对于debian/ubuntu系统来说,安装方式很简单: sudo apt-getinstall...