#!/usr/bin/expect spawn ssh [email protected] expect "assword:" send "mypassword\r" interact
References
https://stackoverflow.com/questions/16928004/how-to-enter-ssh-password-using-bash
#!/usr/bin/expect spawn ssh [email protected] expect "assword:" send "mypassword\r" interact
References
https://stackoverflow.com/questions/16928004/how-to-enter-ssh-password-using-bash