You do not need a known_hosts file since you have set trust="true". You will need to generate a key pair on the machine running ant. You may need to convert the private key to openssh format. Use the private key file in the ant build file... keyfile = "path/to/key/file" ...
Then you need to copy the public key to the remote server and put it in /home/user-that-you-are-connecting-as/.ssh2 Create a file on the remote system called... /home/user-that-you-are-connecting-as/.ssh2/authorization ...with the contents... key name-of-your-public-key -Rob Anderson -----Original Message----- From: MaxSteel [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 30, 2008 9:38 AM To: user@ant.apache.org Subject: Re: Ant on AIX using SCP to transfer files with ssh2 keys Update, finally got a straight answer from one of my sys admins, we are using: "WRQ's version of SSH2 which used to be F-Secure" If that helps.. thanks. -- View this message in context: http://www.nabble.com/Ant-on-AIX-using-SCP-to-transfer-files-with-ssh2-k eys-tp16952909p16986856.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]