Connecting to unix server


I am writing a java service, where it will connect to the unix server with SSH (Secure shell) protocol. Is there any in built services for this same perpose. While writting the java service i am getting error related to ssh stuff. :frowning: For that am i need to add the jars ?

please share the ideas if you have gone throgh this.

thanks in advance,
shafi :slight_smile:

Hi shafi,

There is an OpenSSH package utility which is already available as a utility package you can download it and pass the UNIX Commands to it like login , get put etc.


why dont you try SFTP? (unless if the requirement is very strict)
You can use jcraft api to create sftp connection from IS.

Fairly easy with jcraft.