Connect through SSH and type in password automatically, without using a public key
Posted
by binary255
on Server Fault
See other posts from Server Fault
or by binary255
Published on 2010-04-14T18:15:42Z
Indexed on
2010/04/14
18:23 UTC
Read the original article
Hit count: 268
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.
© Server Fault or respective owner