Re: Executing SSH Using ANT
Tuesday, May 15, 2007 06:47 PM
You should check the documentation of your ssh command to see if/how to get it to run a sequence of commands upon login. Doing this in a UNIX environment is fairly trivial. No idea how it works under Windows, though. Likely you will need to supply command line args to the SSH executable. Once you get that working, just modify the ant script to also pass those same arguments. In other words, this is not an Ant issue ... it is a "how do I use my SSH executable" issue.