Skip to content

fordguo/sshj

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flattr this

sshj - SSHv2 library for Java

To get started, have a look at one of the examples. Hopefully you will find the API pleasant to work with :)

Features of the library include:

  • reading known_hosts files for host key verification
  • publickey, password and keyboard-interactive authentication
  • command, subsystem and shell channels
  • local and remote port forwarding
  • scp + complete sftp version 0-3 implementation

Implementations of the following algorithms are included:

ciphers
aes{128,192,256}-{cbc,ctr}, blowfish-cbc, 3des-cbc
key exchange
diffie-hellman-group1-sha1, diffie-hellman-group14-sha1
signatures
ssh-rsa, ssh-dss
mac
hmac-md5, hmac-md5-96, hmac-sha1, hmac-sha1-96
compression
zlib and [email protected] (delayed zlib)
private key files
pkcs8 encoded (what openssh uses)

If you need something that is not implemented, it shouldn't be too hard to add (do contribute it!)

Dependencies

Java 6+. slf4j is required. bouncycastle is highly recommended and required for using some of the crypto algorithms. jzlib is required for using zlib compression.

Help and discussion

There is a google group.

Contributing

Fork away!

About

SSH, SCP and SFTP for Java

Resources

License

Stars

Watchers

Forks

Packages

No packages published