Thomas Sundberg

January 16, 2012

ssh from Ant

Filed under: Automation — Tags: , , , — Thomas Sundberg @ 02:02

This post is available at http://www.thinkcode.se/blog/2012/01/16/ssh-from-ant

Advertisements

2 Comments »

  1. That’s too much hassle to get up and running. I quit using sshexec because of all these problems.

    It is much easier to use Ant exec with ssh. The equivalent of the above is:

    Comment by Rob Juurlink — January 16, 2012 @ 22:15

  2. <exec executable=”ssh” os=”Linux, ‘Mac OS X'”>
    <arg line=”-n -i ${keyfile} ${username}@${host} touch somefile”/>
    </exec>

    Comment by Rob Juurlink — January 16, 2012 @ 22:16


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: