expect遠程SSH登錄腳本

#!/usr/bin/expectmysql set host 192.168.1.110 set user tom set password 987456 set timeout 1sql #mysql-user: tom #mysql-passwd: hisdhbapp spawn ssh -l $user $host expect "*$" send "cd /data/runtime/ap
相關文章
相關標籤/搜索