JSch - Examples
- Shell.java
demonstrating how to connect to sshd server and get the shell prompt. - Exec.java
demonstrating the remote exec. - ViaHTTP.java
demonstrating the ssh session via HTTP proxy. - ViaSOCKS.java
demonstrating the ssh session via SOCKS proxy. - PortForwardingR.java
demonstrating the port forwarding like option -R of ssh command. - PortForwardingL.java
demonstrating the port forwarding like option -L of ssh command. - StreamForwarding.java
demonstrating the stream forwarding. - UserAuthPubKey.java
demonstrating the user authentification by public key. - Compression.java
demonstrating the packet compression. - ScpTo.java
demonstrating the file transfer from local to remote. - ScpFrom.java
demonstrating the file transfer from remote to local - Sftp.java
demonstrating the sftp protocol support. - KnownHosts.java
demonstrating the 'known_hosts' file handling. - UserAuthKI.java
demonstrating the keyboard-interactive authentication. - KeyGen.java
demonstrating the DSA keypair generation. - ChangePassphrase.java
demonstrating how to change the passphrase for a private key file instead of creating a new private key. - AES.java
demonstrating how to use "aes128-cbc". - Daemon.java
demonstrating how to provide a network service like inetd by using remote port-forwarding functionality. - Logger.java
demonstrating how to enable logging mechanism and get logging messages. - Subsystem.java
demonstrating how to use the Subsystem channel. - Sudo.java
demonstrating how to sudo on the remote. - ScpToNoneCipher.java
demonstrating how to enable none cipher. - X11Forwarding.java
demonstrating the X11 forwarding. - JumpHosts.java
demonstrating SSH through jump hosts. - OpenSSHConfig.java
demonstrating how OpenSSH's config is supported.
