Matt
Matt

Reputation: 11317

Connecting to SSH using JTA in Java

Can someone give me some example code? I've tried to look for the documentation but it looks confusing..

Or maybe I could use a different library to conenct to SSH in Java?

Upvotes: 1

Views: 1098

Answers (2)

user207421
user207421

Reputation: 310884

JTA only connects to SSH-1. If you are talking about SSH-2 you need something else, or you need my JTA SSH2Socket class ;-)

Upvotes: 2

Pascal Thivent
Pascal Thivent

Reputation: 570325

Personally, I've always used JSch (a pure Java implementation of SSH2). The examples illustrate most use cases.

Upvotes: 2

Related Questions