Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

RE: Ant on AIX using SCP to transfer files with ssh2 keys

Anderson, Rob (Global Trade)

2008-05-21

Replies: Find Java Web Hosting

Author LoginPost Reply
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:maxsteel@(protected)]
Sent: Wednesday, April 30, 2008 9:38 AM
To: user@(protected)
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.
--
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: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.