shell實現自動回車輸入

#!/bin/bashbash ip="172.16.1.113"ssh command="ssh $ip" expect -c "     spawn $command;     expect {             \"Are you sure you want to continue connecting (yes/no)?\" {send \"yes\r\"; exp_continue
相關文章
相關標籤/搜索