public class SshSession
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static org.apache.sshd.common.Session.AttributeKey<SshSession> |
KEY
ServerSession attribute key for this object instance.
|
Modifier and Type | Method and Description |
---|---|
CurrentUser |
getCurrentUser()
Identity of the authenticated user account on the socket.
|
java.net.SocketAddress |
getRemoteAddress() |
java.lang.String |
getRemoteAddressAsString() |
int |
getSessionId()
Unique session number, assigned during connect.
|
public static final org.apache.sshd.common.Session.AttributeKey<SshSession> KEY
public int getSessionId()
public CurrentUser getCurrentUser()
public java.net.SocketAddress getRemoteAddress()
public java.lang.String getRemoteAddressAsString()