You can use 'expect' to enter the SSH password when prompted. Changes to your script are bolded. #!/usr/bin/expect -f spawn ssh root@server expect ...
確定! 回上一頁