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 |
---|---|
java.net.SocketAddress |
getRemoteAddress() |
java.lang.String |
getRemoteAddressAsString() |
int |
getSessionId()
Unique session number, assigned during connect.
|
CurrentUser |
getUser()
Identity of the authenticated user account on the socket.
|
public static final org.apache.sshd.common.Session.AttributeKey<SshSession> KEY
public int getSessionId()
public CurrentUser getUser()
public java.net.SocketAddress getRemoteAddress()
public java.lang.String getRemoteAddressAsString()