a_posse_ad_esse
April 26th, 2008, 10:30 PM
I am working on a project, and for it a client machine triggers a script on a server through ssh. The server script then must send back data to the client through rsync. The command that gives the hostkey failure message (below) is, as far as the client is concerned:
ssh user@IP /script rsync --options /directory user@IP:/directory
This command returns:
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password).
Is there a better way to do this? Thanks.
ssh user@IP /script rsync --options /directory user@IP:/directory
This command returns:
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password).
Is there a better way to do this? Thanks.