#1 Support for SSH Keys

closed
nobody
None
5
2003-05-07
2003-02-10
Anonymous
No

It would be great is the SSH and SCP tasks had support
for ssh keys. For example, it would be great if the task
allowed the following usage:

<sshexec host="localhost" username="nobody"
keyfile="~/.ssh/id_dsa"
command="chmod -R u+x bin/*.sh" />

I can't use the tasks as they exist currently because I
will not put the password into the build.xml in plain text.
I have written an SSH and SCP task based on the
mindterm java ssh implementation but I would like to
use this distribution because this one is more likely to
be included in a future release of Ant, due to the
licensing stuff. I will gladly provide my source code for
the two tasks I have written if there is any change it
would be helpfull.

Discussion

  • Dale Anson
    Dale Anson
    2003-05-07

    Logged In: YES
    user_id=187628

    The new ssh tasks support keys. I didn't do the work, maybe
    you did?

     
  • Dale Anson
    Dale Anson
    2003-05-07

    • status: open --> closed