#!/usr/bin/expect spawn ssh user@my.server.com expect "assword:" send "mypassword\r" interact
References
https://stackoverflow.com/questions/16928004/how-to-enter-ssh-password-using-bash
#!/usr/bin/expect spawn ssh user@my.server.com expect "assword:" send "mypassword\r" interact
References
https://stackoverflow.com/questions/16928004/how-to-enter-ssh-password-using-bash