Reputation: 4121
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
Upvotes: 6
Views: 9038
Reputation: 8500
SSHJ have very easy & clean API for uploading files and for executing commands on remote systems.
Upvotes: 1
Reputation: 403461
jsch is a pure java SSH implementation that supports SSH key auth.
Upvotes: 5