What you need is "Expect". -- Regards Pankaj
On Wed, Mar 25, 2009 at 11:29 PM, PenguinPuPPy <[email protected]>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 > > Thanks > Penguinpuppy > > -- > To Love The Penguin(aka TUX) You Need To Be As Faithful As A Puppy > -- > http://mm.glug-bom.org/mailman/listinfo/linuxers > -- Isaac Asimov - "I do not fear computers. I fear the lack of them." -- http://mm.glug-bom.org/mailman/listinfo/linuxers

