Package com.trilead.ssh2
Class ConnectionInfo
java.lang.Object
com.trilead.ssh2.ConnectionInfo
In most cases you probably do not need the information contained in here.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe currently used crypto algorithm for packets from to the client to the server.The currently used MAC algorithm for packets from to the client to the server.The used key exchange (KEX) algorithm in the latest key exchange.int
Number of kex exchanges performed on this connection so far.byte[]
The server host key that was sent during the latest key exchange.The type of the server host key (currently either "ssh-dss" or "ssh-rsa").The currently used crypto algorithm for packets from to the server to the client.The currently used MAC algorithm for packets from to the server to the client. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
keyExchangeAlgorithm
The used key exchange (KEX) algorithm in the latest key exchange. -
clientToServerCryptoAlgorithm
The currently used crypto algorithm for packets from to the client to the server. -
serverToClientCryptoAlgorithm
The currently used crypto algorithm for packets from to the server to the client. -
clientToServerMACAlgorithm
The currently used MAC algorithm for packets from to the client to the server. -
serverToClientMACAlgorithm
The currently used MAC algorithm for packets from to the server to the client. -
serverHostKeyAlgorithm
The type of the server host key (currently either "ssh-dss" or "ssh-rsa"). -
serverHostKey
public byte[] serverHostKeyThe server host key that was sent during the latest key exchange. -
keyExchangeCounter
public int keyExchangeCounterNumber of kex exchanges performed on this connection so far.
-
-
Constructor Details
-
ConnectionInfo
public ConnectionInfo()
-