- connect
- <init>
Prepares a fresh Connection object which can then be used to establish a
connection to the specified
- close
- authenticateWithPassword
After a successful connect, one has to authenticate oneself. This method sends
username and password
- openSession
Open a new Session on this connection. Works only after one has passed
successfully the authenticati
- authenticateWithPublicKey
After a successful connect, one has to authenticate oneself. The authentication
method "publickey" w
- getRemainingAuthMethods
After a successful connect, one has to authenticate oneself. This method can be
used to tell which a
- authenticateWithKeyboardInteractive
After a successful connect, one has to authenticate oneself. This method is
based on "keyboard-inter
- createSCPClient
Create a very basic SCPClient that can be used to copy files from/to the SSH-2
server. Works only af
- setProxyData
Used to tell the library that the connection shall be established through a
proxy server. It only ma
- exec
- getHostname
Returns the hostname that was passed to the constructor.