Package | Description |
---|---|
com.sshtools.client | |
com.sshtools.client.sftp | |
com.sshtools.client.tasks | |
com.sshtools.server | |
com.sshtools.server.auth | |
com.sshtools.server.platform |
This package contains the interfaces that are required to be
implemented to create an SSH server implementation.
|
com.sshtools.server.sftp | |
com.sshtools.ssh | |
util |
Modifier and Type | Method and Description |
---|---|
Channel<SshClientContext> |
DefaultClientChannelFactory.createChannel(String channeltype,
Connection<SshClientContext> con) |
protected Channel<SshClientContext> |
ConnectionProtocolClient.createChannel(String channeltype,
Connection<SshClientContext> con) |
protected Channel<SshClientContext> |
DefaultClientChannelFactory.createSessionChannel(Connection<SshClientContext> con) |
Constructor and Description |
---|
SftpClientTask(Connection<SshClientContext> con) |
Modifier and Type | Field and Description |
---|---|
protected Connection<SshClientContext> |
AbstractSubsystemTask.con |
Constructor and Description |
---|
AbstractCommandTask(Connection<SshClientContext> con,
String command) |
AbstractCommandTask(Connection<SshClientContext> con,
String command,
String charset) |
AbstractSessionTask(Connection<SshClientContext> con) |
AbstractSftpTask(Connection<SshClientContext> con) |
Modifier and Type | Method and Description |
---|---|
void |
PublicKeyAuthenticationProvider.add(SshPublicKey key,
String comment,
Connection<SshServerContext> con) |
void |
OpenSshCACertificateStoreImpl.add(SshPublicKey key,
String comment,
Connection<SshServerContext> con) |
protected boolean |
ShellPolicy.assertPermission(Connection<SshServerContext> con,
int perm,
String... args) |
abstract boolean |
PasswordAuthenticationProvider.changePassword(Connection<SshServerContext> con,
String username,
String oldpassword,
String newpassword)
Implement this method to change the users password
|
boolean |
ShellPolicy.checkPermission(Connection<SshServerContext> con,
int perm,
String... args) |
Channel<SshServerContext> |
DefaultServerChannelFactory.createChannel(String channeltype,
Connection<SshServerContext> con) |
protected Channel<SshServerContext> |
ConnectionProtocolServer.createChannel(String channeltype,
Connection<SshServerContext> con) |
KeyboardInteractiveProvider |
KeyboardInteractiveAuthenticationProvider.createInstance(Connection<SshServerContext> con) |
AuthenticationMechanism |
AuthenticationMechanismFactory.createInstance(String name,
TransportProtocol<SshServerContext> transport,
AuthenticationProtocolServer authentication,
Connection<SshServerContext> con) |
protected Channel<SshServerContext> |
DefaultServerChannelFactory.createSessionChannel(Connection<SshServerContext> con) |
Iterator<SshPublicKeyFile> |
PublicKeyAuthenticationProvider.getKeys(Connection<SshServerContext> con) |
Iterator<SshPublicKeyFile> |
OpenSshCACertificateStoreImpl.getKeys(Connection<SshServerContext> con) |
Authenticator[] |
AuthenticationMechanismFactory.getProviders(String name,
Connection<SshServerContext> con) |
String[] |
AuthenticationMechanismFactory.getRequiredMechanisms(Connection<SshServerContext> con) |
KBIPrompt[] |
PasswordKeyboardInteractiveProvider.init(Connection<SshServerContext> con,
KeyboardInteractiveAuthentication auth) |
boolean |
PublicKeyAuthenticationProvider.isAuthorizedKey(SshPublicKey key,
Connection<SshServerContext> con)
Check the supplied public key against the users authorized keys.
|
boolean |
OpenSshCACertificateStoreImpl.isAuthorizedKey(SshPublicKey key,
Connection<SshServerContext> con) |
void |
PublicKeyAuthenticationProvider.remove(SshPublicKey key,
Connection<SshServerContext> con) |
void |
OpenSshCACertificateStoreImpl.remove(SshPublicKey key,
Connection<SshServerContext> con) |
abstract boolean |
PasswordAuthenticationProvider.verifyPassword(Connection<SshServerContext> con,
String username,
String password)
Implement this method to log the user into the system.
|
Modifier and Type | Method and Description |
---|---|
void |
AuthorizedKeysPublicKeyAuthenticationProvider.add(SshPublicKey key,
String comment,
Connection<SshServerContext> con) |
AuthenticationMechanism |
DefaultAuthenticationMechanismFactory.createInstance(String name,
TransportProtocol<SshServerContext> transport,
AuthenticationProtocolServer authentication,
Connection<SshServerContext> con) |
AuthenticationMechanism |
AllowNoneAuthenticationMechanismFactory.createInstance(String name,
TransportProtocol<SshServerContext> transport,
AuthenticationProtocolServer authentication,
Connection<SshServerContext> con) |
protected AbstractFile |
AuthorizedKeysPublicKeyAuthenticationProvider.getFile(Connection<SshServerContext> connection) |
KeyboardInteractiveAuthenticationProvider[] |
DefaultAuthenticationMechanismFactory.getKeyboardInteractiveProviders(Connection<SshServerContext> con) |
Iterator<SshPublicKeyFile> |
AuthorizedKeysPublicKeyAuthenticationProvider.getKeys(Connection<SshServerContext> con) |
PasswordAuthenticationProvider[] |
DefaultAuthenticationMechanismFactory.getPasswordAuthenticationProviders(Connection<SshServerContext> con) |
Authenticator[] |
DefaultAuthenticationMechanismFactory.getProviders(String name,
Connection<SshServerContext> con) |
PublicKeyAuthenticationProvider[] |
DefaultAuthenticationMechanismFactory.getPublicKeyAuthenticationProviders(Connection<SshServerContext> con) |
String[] |
DefaultAuthenticationMechanismFactory.getRequiredMechanisms(Connection<SshServerContext> con) |
boolean |
AuthorizedKeysPublicKeyAuthenticationProvider.isAuthorizedKey(SshPublicKey key,
Connection<SshServerContext> con)
Checks the given public key by comparing it against the public keys
stored in the users authorized_keys file.
|
void |
AuthorizedKeysPublicKeyAuthenticationProvider.remove(SshPublicKey key,
Connection<SshServerContext> con) |
Modifier and Type | Method and Description |
---|---|
boolean |
AuthenticationProvider.changePassword(Connection<SshServerContext> con,
String username,
String oldpassword,
String newpassword)
Deprecated.
Use new PasswordAuthenticationProvider mechanism to replace use of AuthenticationProvider.
|
FileSystem |
FileSystemFactory.createInstance(Connection<SshServerContext> con,
String protocolInUse) |
void |
AuthenticationProvider.endSession(Connection<SshServerContext> con)
Deprecated.
Use EVENT_DISCONNECTED event instead
|
String |
AuthenticationProvider.getGroup(Connection<SshServerContext> con)
Deprecated.
use new AbstractFileSystem instead of VirtualFileSystem.
|
String |
AuthenticationProvider.getHomeDirectory(Connection<SshServerContext> con)
Deprecated.
use new AbstractFileSystem instead of VirtualFileSystem.
|
KBIPrompt[] |
KeyboardInteractiveProvider.init(Connection<SshServerContext> con,
KeyboardInteractiveAuthentication provider) |
void |
OperationWrapperSupport.onOperationBegin(Connection<SshServerContext> con) |
void |
OperationWrapperSupport.onOperationEnd(Connection<SshServerContext> con) |
void |
AuthenticationProvider.startSession(Connection<SshServerContext> con)
Deprecated.
Use EVENT_AUTHENTICATION_COMPLETE event instead.
|
boolean |
AuthenticationProvider.verifyPassword(Connection<SshServerContext> con,
String username,
String password,
SocketAddress ipAddress)
Deprecated.
Use new PasswordAuthenticationProvider mechanism to replace use of AuthenticationProvider.
|
Modifier and Type | Field and Description |
---|---|
protected Connection<SshServerContext> |
AbstractFileImpl.con |
Modifier and Type | Method and Description |
---|---|
Connection<SshServerContext> |
AbstractFileSystem.getConnection() |
Modifier and Type | Method and Description |
---|---|
T |
AbstractFileFactory.getDefaultPath(Connection<SshServerContext> con) |
T |
AbstractDirectFileFactory.getDefaultPath(Connection<SshServerContext> con) |
DirectFile |
DirectFileFactory.getFile(String path,
Connection<SshServerContext> con) |
T |
AbstractFileFactory.getFile(String path,
Connection<SshServerContext> con) |
String |
DirectFileHomeFactory.getHomeDirectory(Connection<SshServerContext> con) |
String |
AbstractFileHomeFactory.getHomeDirectory(Connection<SshServerContext> con) |
protected AbstractFile |
AbstractFileSystem.resolveFile(String path,
Connection<SshServerContext> con) |
Constructor and Description |
---|
AbstractDirectFile(String path,
AbstractFileFactory<T> fileFactory,
Connection<SshServerContext> con,
String homeDir) |
AbstractFileImpl(AbstractFileFactory<T> fileFactory,
Connection<SshServerContext> con) |
AbstractFileSystem(AbstractFileFactory<?> fileFactory,
Connection<SshServerContext> con,
String protocolInUse) |
DirectFile(String path,
AbstractFileFactory<DirectFile> fileFactory,
Connection<SshServerContext> con,
String homeDir) |
DirectFileJava7(String path,
AbstractFileFactory<DirectFile> fileFactory,
Connection<SshServerContext> con,
String homeDir) |
Modifier and Type | Field and Description |
---|---|
protected Connection<T> |
TransportProtocol.con |
protected Connection<T> |
ConnectionProtocol.con |
Modifier and Type | Method and Description |
---|---|
Connection<T>[] |
ConnectionManager.getAllConnections() |
Connection<T> |
TransportProtocol.getConnection() |
Connection<T> |
ConnectionProtocol.getConnection() |
Connection<T> |
Channel.getConnection() |
Connection<T> |
ConnectionManager.getConnectionById(String sessionid) |
Connection<T> |
ConnectionManager.registerConnection(ConnectionProtocol<T> connection) |
Modifier and Type | Method and Description |
---|---|
boolean |
ForwardingPolicy.checkHostPermitted(Connection<?> con,
String host,
int port)
Check the host of the forwarding is permitted under this policy.
|
boolean |
ForwardingPolicy.checkInterfacePermitted(Connection<?> con,
String originHost,
int originPort)
Check that the source of the forwarding is permitted under this policy.
|
void |
ForwardingManager.connected(Connection<T> con) |
void |
ConnectionStateListener.connected(Connection<T> con) |
protected abstract Channel<T> |
ConnectionProtocol.createChannel(String channeltype,
Connection<T> con) |
Channel<T> |
ChannelFactory.createChannel(String channeltype,
Connection<T> con) |
void |
ForwardingManager.disconnected(Connection<T> con) |
void |
ConnectionStateListener.disconnected(Connection<T> con) |
int |
ForwardingManager.startListening(String addressToBind,
int portToBind,
Connection<T> con,
SocketListeningForwardingFactoryImpl<T> forwardingFactory) |
boolean |
ForwardingManager.stopListening(String addressToBind,
int portToBind,
boolean dropActiveTunnels,
Connection<T> connection)
Stop remote forwarding.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AllowAnythingPasswordAuthenticator.changePassword(Connection<SshServerContext> con,
String username,
String oldpassword,
String newpassword) |
boolean |
AllowAnythingPasswordAuthenticator.verifyPassword(Connection<SshServerContext> con,
String username,
String password) |
Copyright © 2016. All rights reserved.