SSH Tunnel Connection through Java client.

I was wondering if we have anything in digital ocean java client to create/open ssh tunnel connection.

SSH Keys we have already configured.


Can some please update it with some suggestion.

Any help would be appreciated.

@ryanpq Thanks for comment. I am using this client - Could you please help me with sample java code to create ssh tunnel.

While there are a lot of 3rd party clients out there the only official DigitalOcean client is doctl, the command line client written in Go. Which Java client are you referring to?

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

It sound like a library like this one should fit your needs and allow you to establish an ssh connection and do port forwarding if needed.

This comment has been deleted