SSHJ is an open-source Java library that allows secure communication with remote servers. It supports password and public key authentication, file upload and download via SCP and SFTP, and local and remote port forwarding.

5m read timeFrom feeds.feedblitz.com
Post cover image
Table of contents
1. Overview2. Dependencies3. SSHJ Library4. Connecting SSH Client5. Executing a Command via SSH6. Uploading/Downloading File via SCP7. Uploading/Downloading File via SFTP8. Local Port Forwarding9. Remote Port Forwarding10. Check Connection Drops11. Conclusion

Sort: