There are two issues actually:
1. Automating loging 2. Password less authentication
For (1) you write a "Expect" script and for (2) you can copy over your ssh public key into ~/.ssh/authorized_keys file on the server.
-- Regards Pankaj
On Wed, Mar 25, 2009 at 11:42 PM, Rony gnulinuxist@gmail.com wrote:
PenguinPuPPy wrote:
Hello There, I have a small problem here which I wish to describe as an example.OK so here it is .I have a client and a server both UNIX boxes.I wish to run SFTP on the client as user A and authenticate as user B on
the
server which is going to be accomplished using a script.Se user A is the owner of the script and he authenticates to server as user B .Now the problem is when the authentication happens it asks for a manual password entry which doesn't make sense .I have used ssh rsa keys ..but still no solution as the authentication needs to be automatic.Any solution to the problem is welcome
http://www.unix.com/shell-programming-scripting/17929-automate-sftp-using-un...
-- Regards,
Rony.
GNU/Linux ! No Viruses No Spyware Only Freedom.