Anupchoudhury2013/anup_choudhury
newtaks / login_ssh.sh #!/usr/bin/expect #set timeout -1 spawn ssh [lindex $argv 0]@[lindex $argv 1] expect { "*yes/no)?" { send "yes\r" } } expect "*password:" send [lindex $argv 2]\r expect eof
Discovered public repositories for Anupchoudhury2013 in the GitHub catalog.
newtaks / login_ssh.sh #!/usr/bin/expect #set timeout -1 spawn ssh [lindex $argv 0]@[lindex $argv 1] expect { "*yes/no)?" { send "yes\r" } } expect "*password:" send [lindex $argv 2]\r expect eof