Can you use ssh keys? Here's a nice walkthrough: http://www.sshkeychain.org/mirrors/SSH-with-Keys-HOWTO/SSH-with-Keys-HOW TO-4.html
-----Original Message----- From: RobG [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2008 3:03 PM To: Ant Users List Subject: Using scp -- how to find or make a keyfile? I have a small ANT task that's purpose is to find changed files in a given directory, and then sftp them to a destination server. I'm using scp for this, but it won't work because it wants a Keyfile. I'm wondering how I go about either making it not care about a keyfile, or generating one? Thanks! Rob --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ----------------------------------------- Confidentiality Notice! This electronic transmission and any attached documents or other writings are confidential and are for the sole use of the intended recipient(s) identified above. This message may contain information that is privileged, confidential or otherwise protected from disclosure under applicable law. If the receiver of this information is not the intended recipient, or the employee, or agent responsible for delivering the information to the intended recipient, you are hereby notified that any use, reading, dissemination, distribution, copying or storage of this information is strictly prohibited. If you have received this information in error, please notify the sender by return email and delete the electronic transmission, including all attachments from your system. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]