tags:

views:

486

answers:

1

Does anyone have any code for connecting to a remote server using java and an ssh key. We dont have a password for this server, we just use our username and our ssh keys

+2  A: 

jsch is a pure java SSH implementation that supports SSH key auth.

skaffman
Excellent, thanks very much for such a quick answer
Damo