Java SSH Client API

Java SSH Client API

Starting from humble beginnings as an open source API and now with over a decade and a half of production use in the most discerning and demanding environments, the Maverick Legacy Client has long been the definitive solution for total SSH compatibility on the Java™ platform.

Maverick Legacy Java SSH Client

Today our Java SSH API is used by many clients from all walks of industry including defence contractors, blue chips, SaaS and other high-technology vendors. Designed as a successor to J2SSH, a popular open source Java SSH library, and written by the same author, Maverick Legacy Client was built from the ground up and now has a mature and stable code-base and has been integrated into many mission critical systems at countless Fortune 500 companies.

Maverick Legacy Client is a Java library that enables software developers to utilize the Secure Shell (SSH), Secure Copy (SCP) and Secure File Transfer (SFTP) protocols within their own Java applications. This library provides the ability to integrate an SSH client into your own application, allowing outgoing connections to be made to SSH servers so that files can be transferred, commands executed or ports forwarded for other networking applications. If you want to build your own SSH server you should consider our Maverick Legacy Server product.

Designed as a successor to J2SSH, a popular open-source Java SSH library, and written by the same author, Maverick Legacy Client was built from the ground up to provide the highest possible performance and to add support for the SSH1 protocol. The API now has a mature and stable code-base and has been integrated into many mission-critical systems at countless Fortune 500 companies.

Why should I purchase?

With all security-related products it’s important that you keep your software up-to-date and in line with current specifications. Over time security products can become vulnerable to new exploits. To combat this new or stronger cryptography algorithms are introduced; leaving the older algorithms as well as your software more vulnerable and open to attack.

With our commercial licenses you get our SSH expertise at your fingertips. When specifications change or new vulnerabilities are found we are able to advise our customers on the best strategy to mitigate the risks and provide product updates within hours.

What do I get?

Our commercial licenses include 12 months support & maintenance as standard. Giving you get the benefit of quick turn around bug fixes, new features, stronger cryptography, and unlimited support requests with an SSH specialist ready to answer your questions.

Maverick Legacy Client is a cross platform 100% Java™ based API.

Protocols: SSH1
Authentication: Password
Public key
Keyboard Interactive authentication
Ciphers: 3DES
Stateful decryption counter mode cipher for AES, 3DES
Support for Encrypt-then-Mac
Key Exchange: diffie-hellman-group-exchange-sha1
Public Keys: RSA
File Transfer: SFTP v6
SSH Features: Support for ssh-agent
Port forwarding
X forwarding
Public key subsystem
Dynamic SOCKS forwarding
Proxies: HTTP

1. Register for an API license.

2. Download product archive or use Maven Repository and Dependencies:



3. Register for an evaluation license.

4. Start coding…

SshConnector con = SshConnector.createInstance();
SshClient ssh = con.connect("", 22, "demo");
PasswordAuthentication pwd = new PasswordAuthentication();

J2SSH Maverick has, until recently, only been available under a commercial licensing agreement. With the release of our 1.6.x branch and in honor of the 10th anniversary of J2SSH Maverick’s first commercial release, we have released our legacy 1.4.x branch under the LGPL for use in open source applications.

We now have the following license options:

LGPLv3 License (without support)

We have released our base SSH2 implementation under an open-source license (LGPLv3). You may use this in both open source and commercial applications, however, support is limited to community channels.

Commercial License (with support)

We continue to license our full product stack under a commercial license with unlimited email support and regular product updates. These licenses include support for both SSH1 and SSH2 protocols along with additional utilities not available in the open-source edition.

The API is now under Long Term Support (LTS) and will continue to be commercially supported for the foreseeable future. There are 2 separate branches of the software:


This is branch reached End of Life (EOL) on 31st January 2018 and is no longer supported.. All customers should upgrade to at least the 1.6.x branch.


This branch will only receive security updates and bug fixes for the duration of its lifetime. It is recommended that all customers upgrade to the latest release on this branch as soon as possible. This version will reach EOL on 31st December 2019.


This is the cutting edge development branch that will receive new features, security updates and bug fixes. It is backwards compatible with 1.6.x with the exception of deprecated APIs that have been removed and with the minimum Java version raised to 1.7. This is now our stable, production-ready branch.

  Open Source Professional Enterprise
  No warranty, No support, Limited Maintenance Unlimied development, testing and deployment for a single named product. Unlimited development, testing and deployment for a single named product.
Source Code
Maintenance Releases Community Driven Monthly Monthly
Versions 1.5.x 1.6.x




New License

Contact Us

Contact Us

Standard Renewal
Contact Us1
Contact Us1
Priority Renewal
Contact Us1
Contact Us1

1 Renewal pricing provided assumes renewal on or before the expiring of your existing support & maintenance agreement.


Register for a 14-day Evaluation License.

View Changes

Existing customers should log into their account to access product downloads.

Looking for a Java SSH Server API? Take a look at Maverick Legacy Server.