public String toString() {
		return "SSH2 "
				+ io.getHost()
				+ ":"
				+ io.getPort()
				+ " [kex="
				+ (transport.keyExchange == null ? "none"
						: transport.keyExchange.getAlgorithm())
				+ " hostkey="
				+ (transport.hostkey == null ? "none" : transport.hostkey
						.getAlgorithm())
				+ " client->server="
				+ (transport.encryption == null ? "none" : transport.encryption
						.getAlgorithm())
				+ ","
				+ (transport.outgoingMac == null ? "none"
						: transport.outgoingMac.getAlgorithm())
				+ ","
				+ (transport.outgoingCompression == null ? "none"
						: transport.outgoingCompression.getAlgorithm())
				+ " server->client="
				+ (transport.decryption == null ? "none" : transport.decryption
						.getAlgorithm())
				+ ","
				+ (transport.incomingMac == null ? "none"
						: transport.incomingMac.getAlgorithm())
				+ ","
				+ (transport.incomingCompression == null ? "none"
						: transport.incomingCompression.getAlgorithm()) + "]";
	}