Connect through SSH and type in password automatically, without using a public key
- by binary255
A server allows SSH connections, but not using public key authentication. It's not within my power to change this at the moment (due to technical difficulties, not organizational) but I will get on it as soon as possible!
What I need now is to execute commands on the server using plain old account+password authentication from a script. That is, I need to do it in a non-interactive way. Is it possible? And how do I do it?
The client which will be executing the script runs Ubuntu Server 8.04. The server runs Cygwin and OpenSSH.