Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ssh client program in java  RSS feed

 
rama krishan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to write a ssh client program in java to execute few commands on the server programatically. Do we have any open source java lib for ssh implementation? Like the one we have for TelnetSession from apache.
Please help.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

A quick search on Google finds several Java libraries and applets/applications.
 
rama krishan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, The problems is google returns a lot libaries and i dont know which one is better, it takes a while for me to try them out so i expecting some one shed some light on these libraries if they had first hand expierience.
 
Sushil Sharma
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use JCraft's java secure shell package. You can download from here

http://www.jcraft.com/jsch/index.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!