iTerm2免密登陸

建立一個登陸腳本web #!/usr/bin/expect set timeout 10 spawn ssh [lindex $argv 0]@[lindex $argv 1] expect { "(yes/no)?" {send "yes\n";exp_continue} "password:" {send "[lindex $argv 2]\n"} } in
相關文章
相關標籤/搜索