This bit of code will help you understand how to use jsch API to SSH into remote machines natively.