Forum Discussion
TNeuschwanger
3 years agoChampion Level 1
Sorry I don't have specific example, but I have used a library to perform the tasks you describe that you could look into to see if it meets your needs...
It is Jsch by JCraft
Download the .jar file and place in your installation .lib folder.
add "import com.jcraft.jsch.*;" import line to you groovy script test step to use features in examples.
Their website has some java examples you can drop right into groovy script test steps.
http://www.jcraft.com/jsch/examples/
I used to execute commands on remote computers with this library successfully and relatively painless.
Regards,
Todd
Related Content
- 8 years ago
- 11 years ago