com.trilead.ssh2

Class ConnectionInfo


public class ConnectionInfo
extends java.lang.Object

In most cases you probably do not need the information contained in here.

Field Summary

String
clientToServerCryptoAlgorithm
The currently used crypto algorithm for packets from to the client to the server.
String
clientToServerMACAlgorithm
The currently used MAC algorithm for packets from to the client to the server.
String
keyExchangeAlgorithm
The used key exchange (KEX) algorithm in the latest key exchange.
int
keyExchangeCounter
Number of kex exchanges performed on this connection so far.
byte[]
serverHostKey
The server host key that was sent during the latest key exchange.
String
serverHostKeyAlgorithm
The type of the server host key (currently either "ssh-dss" or "ssh-rsa").
String
serverToClientCryptoAlgorithm
The currently used crypto algorithm for packets from to the server to the client.
String
serverToClientMACAlgorithm
The currently used MAC algorithm for packets from to the server to the client.

Field Details

clientToServerCryptoAlgorithm

public String clientToServerCryptoAlgorithm
The currently used crypto algorithm for packets from to the client to the server.

clientToServerMACAlgorithm

public String clientToServerMACAlgorithm
The currently used MAC algorithm for packets from to the client to the server.

keyExchangeAlgorithm

public String keyExchangeAlgorithm
The used key exchange (KEX) algorithm in the latest key exchange.

keyExchangeCounter

public int keyExchangeCounter
Number of kex exchanges performed on this connection so far.

serverHostKey

public byte[] serverHostKey
The server host key that was sent during the latest key exchange.

serverHostKeyAlgorithm

public String serverHostKeyAlgorithm
The type of the server host key (currently either "ssh-dss" or "ssh-rsa").

serverToClientCryptoAlgorithm

public String serverToClientCryptoAlgorithm
The currently used crypto algorithm for packets from to the server to the client.

serverToClientMACAlgorithm

public String serverToClientMACAlgorithm
The currently used MAC algorithm for packets from to the server to the client.