Specify password in SFTP command

Hi,

How can I specify a password on the scp command line so that it should not prompt for the password?

Shabu

try something like this

scp filename user@passwd:/path

Hi,

I am able to copy to the destination mahine without any problem. But each and everytime it's asking for the password. I want to schedule job so that it can copy a file to the destination machine without anyones intervention.

shabu

set up ssh keys for the user that will run the script.
a quick search on google for "ssh passwordless connection" will show you how.