Package | Description |
---|---|
com.maverick.sshd |
This package contains the base implementation of the SSH server.
|
com.maverick.sshd.agent | |
com.maverick.sshd.auth | |
com.maverick.sshd.platform |
This package contains the interfaces that are required to be
implemented to create an SSH server implementation.
|
com.maverick.sshd.session | |
com.maverick.sshd.sftp | |
com.maverick.sshd.vfs |
This package contains a Virtual File System which implements a
platform independent version of the NativeFileSystemProvider.
|
com.sshtools.proxy | |
com.sshtools.server.vshell | |
com.sshtools.server.vshell.commands.admin | |
com.sshtools.server.vshell.commands.fs | |
com.sshtools.server.vshell.commands.script | |
com.sshtools.server.vshell.terminal |
Modifier and Type | Method and Description |
---|---|
Connection[] |
ConnectionManager.getAllConnections() |
Connection |
TransportProtocol.getConnection() |
Connection |
Subsystem.getConnection() |
Connection |
ConnectionManager.getConnection() |
Connection |
ConnectionManager.getConnectionById(String sessionid) |
Connection[] |
ConnectionManager.getUserConnections(String username) |
Modifier and Type | Method and Description |
---|---|
void |
PublicKeyAuthenticationProvider.add(SshPublicKey key,
String comment,
Connection con) |
protected boolean |
ShellPolicy.assertPermission(Connection con,
int perm,
String... args) |
void |
ConnectionManager.beginConnectionOperation(Connection con) |
abstract boolean |
PasswordAuthenticationProvider.changePassword(Connection con,
String username,
String oldpassword,
String newpassword)
Implement this method to change the users password
|
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.
|
boolean |
PublicKeyWithVerifyAuthenticationProvider.checkKey(SshPublicKey key,
Connection con) |
boolean |
ShellPolicy.checkPermission(Connection con,
int perm,
String... args) |
Channel |
DefaultChannelFactory.createChannel(String channeltype,
Connection con) |
Channel |
ChannelFactory.createChannel(String channeltype,
Connection con) |
KeyboardInteractiveProvider |
KeyboardInteractiveAuthenticationProvider.createInstance(Connection con) |
AuthenticationMechanism |
AuthenticationMechanismFactory.createInstance(String name,
TransportProtocol transport,
AuthenticationProtocol authentication,
Connection con) |
protected Channel |
DefaultChannelFactory.createSessionChannel(Connection con) |
Iterator<SshPublicKeyFile> |
PublicKeyAuthenticationProvider.getKeys(Connection con) |
Authenticator[] |
AuthenticationMechanismFactory.getProviders(String name,
Connection con) |
String[] |
AuthenticationMechanismFactory.getRequiredMechanisms(Connection con) |
KBIPrompt[] |
PasswordKeyboardInteractiveProvider.init(Connection con,
KeyboardInteractiveAuthentication auth) |
boolean |
X509PublicKeyStore.isAuthorizedKey(SshPublicKey key,
Connection con) |
boolean |
PublicKeyStore.isAuthorizedKey(SshPublicKey key,
Connection con)
Check the supplied public key against the users authorized keys.
|
boolean |
PublicKeyAuthenticationProvider.isAuthorizedKey(SshPublicKey key,
Connection con)
Check the supplied public key against the users authorized keys.
|
boolean |
AuthorizedKeysStoreImpl.isAuthorizedKey(SshPublicKey key,
Connection con)
Checks the given public key by comparing it against the public keys stored
in the users authorized_keys file.
|
void |
PublicKeyAuthenticationProvider.remove(SshPublicKey key,
Connection con) |
abstract boolean |
PasswordAuthenticationProvider.verifyPassword(Connection con,
String username,
String password)
Implement this method to log the user into the system.
|
Constructor and Description |
---|
ConnectionAwareTask(Connection con) |
ConnectionTask(Connection con,
Runnable r) |
KeyboardInteractiveAuthentication(TransportProtocol transport,
AuthenticationProtocol authentication,
Connection con,
KeyboardInteractiveAuthenticationProvider[] providers) |
PasswordAuthentication(TransportProtocol transport,
AuthenticationProtocol authentication,
Connection con,
PasswordAuthenticationProvider[] providers) |
PasswordKeyboardInteractiveProvider(PasswordAuthenticationProvider[] providers,
Connection con) |
PublicKeyAuthentication(TransportProtocol transport,
AuthenticationProtocol authentication,
Connection con,
PublicKeyAuthenticationProvider[] providers) |
Modifier and Type | Method and Description |
---|---|
protected void |
AgentForwardingChannel.onAgentConnected(Connection con,
Object agent) |
Modifier and Type | Method and Description |
---|---|
void |
UniversalAuthenticationProvider.add(SshPublicKey key,
String comment,
Connection con) |
void |
OpenSshCertificateAuthenticationProvider.add(SshPublicKey key,
String comment,
Connection con) |
void |
InMemoryPublicKeyProvider.add(SshPublicKey key,
String comment,
Connection con) |
void |
DefaultPublicKeyAuthenticationProvider.add(SshPublicKey key,
String comment,
Connection con) |
void |
AuthorizedKeysPublicKeyAuthenticationProvider.add(SshPublicKey key,
String comment,
Connection con) |
boolean |
InMemoryPasswordAuthenticator.changePassword(Connection con,
String username,
String oldpassword,
String newpassword) |
boolean |
InMemoryPublicKeyProvider.checkKey(SshPublicKey key,
Connection con) |
AuthenticationMechanism |
DefaultAuthenticationMechanismFactory.createInstance(String name,
TransportProtocol transport,
AuthenticationProtocol authentication,
Connection con) |
AuthenticationMechanism |
AllowNoneAuthenticationMechanismFactory.createInstance(String name,
TransportProtocol transport,
AuthenticationProtocol authentication,
Connection con) |
protected AbstractFile |
AuthorizedKeysPublicKeyAuthenticationProvider.getFile(Connection connection) |
KeyboardInteractiveAuthenticationProvider[] |
DefaultAuthenticationMechanismFactory.getKeyboardInteractiveProviders(Connection con) |
Iterator<SshPublicKeyFile> |
UniversalAuthenticationProvider.getKeys(Connection con) |
Iterator<SshPublicKeyFile> |
OpenSshCertificateAuthenticationProvider.getKeys(Connection con) |
Iterator<SshPublicKeyFile> |
InMemoryPublicKeyProvider.getKeys(Connection con) |
Iterator<SshPublicKeyFile> |
DefaultPublicKeyAuthenticationProvider.getKeys(Connection con) |
Iterator<SshPublicKeyFile> |
AuthorizedKeysPublicKeyAuthenticationProvider.getKeys(Connection con) |
PasswordAuthenticationProvider[] |
DefaultAuthenticationMechanismFactory.getPasswordAuthenticationProviders(Connection con) |
Authenticator[] |
DefaultAuthenticationMechanismFactory.getProviders(String name,
Connection con) |
PublicKeyAuthenticationProvider[] |
DefaultAuthenticationMechanismFactory.getPublicKeyAuthenticationProviders(Connection con) |
String[] |
DefaultAuthenticationMechanismFactory.getRequiredMechanisms(Connection con) |
boolean |
UniversalAuthenticationProvider.isAuthorizedKey(SshPublicKey key,
Connection con) |
boolean |
OpenSshCertificateAuthenticationProvider.isAuthorizedKey(SshPublicKey key,
Connection con) |
boolean |
InMemoryPublicKeyProvider.isAuthorizedKey(SshPublicKey key,
Connection con) |
boolean |
AuthorizedKeysPublicKeyAuthenticationProvider.isAuthorizedKey(SshPublicKey key,
Connection con)
Checks the given public key by comparing it against the public keys
stored in the users authorized_keys file.
|
void |
UniversalAuthenticationProvider.remove(SshPublicKey key,
Connection con) |
void |
OpenSshCertificateAuthenticationProvider.remove(SshPublicKey key,
Connection con) |
void |
InMemoryPublicKeyProvider.remove(SshPublicKey key,
Connection con) |
void |
DefaultPublicKeyAuthenticationProvider.remove(SshPublicKey key,
Connection con) |
void |
AuthorizedKeysPublicKeyAuthenticationProvider.remove(SshPublicKey key,
Connection con) |
boolean |
InMemoryPasswordAuthenticator.verifyPassword(Connection con,
String username,
String password) |
Modifier and Type | Method and Description |
---|---|
FileSystem |
FileSystemFactory.createInstance(Connection con,
String protocolInUse) |
KBIPrompt[] |
KeyboardInteractiveProvider.init(Connection con,
KeyboardInteractiveAuthentication provider) |
void |
OperationWrapperSupport.onOperationBegin(Connection con)
Deprecated.
|
void |
OperationWrapperSupport.onOperationEnd(Connection con)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected Channel |
NativeChannelFactory.createSessionChannel(Connection con) |
Modifier and Type | Field and Description |
---|---|
protected Connection |
AbstractFileImpl.con |
Modifier and Type | Method and Description |
---|---|
Connection |
AbstractFileSystem.getConnection() |
Modifier and Type | Method and Description |
---|---|
FileSystem |
DirectFileSystemFactory.createInstance(Connection con,
String protocolInUse) |
com.maverick.sshd.sftp.ReadOnlyFileFactoryAdapter.ReadOnlyAbstractFile |
ReadOnlyFileFactoryAdapter.getDefaultPath(Connection con) |
T |
AbstractFileFactory.getDefaultPath(Connection con) |
T |
AbstractDirectFileFactory.getDefaultPath(Connection con) |
com.maverick.sshd.sftp.ReadOnlyFileFactoryAdapter.ReadOnlyAbstractFile |
ReadOnlyFileFactoryAdapter.getFile(String path,
Connection con) |
DirectFile |
DirectFileFactory.getFile(String path,
Connection con) |
T |
AbstractFileFactory.getFile(String path,
Connection con) |
String |
DirectFileHomeFactory.getHomeDirectory(Connection con) |
String |
AbstractFileHomeFactory.getHomeDirectory(Connection con) |
void |
AbstractFileSystem.init(Connection con,
String protocolInUse) |
protected AbstractFile |
AbstractFileSystem.resolveFile(String path,
Connection con) |
Constructor and Description |
---|
AbstractDirectFile(String path,
AbstractFileFactory<T> fileFactory,
Connection con,
String homeDir) |
AbstractFileImpl(AbstractFileFactory<T> fileFactory,
Connection con) |
AbstractFileSystem(AbstractFileFactory<?> fileFactory,
Connection con,
String protocolInUse) |
DirectFile(String path,
AbstractFileFactory<DirectFile> fileFactory,
Connection con,
String homeDir) |
DirectFileJava7(String path,
AbstractFileFactory<DirectFile> fileFactory,
Connection con,
String homeDir) |
Modifier and Type | Method and Description |
---|---|
VirtualFile |
VirtualFileFactory.getDefaultPath(Connection con) |
VFSFile |
VFSFileFactory.getDefaultPath(Connection con) |
VirtualFile |
VirtualFileFactory.getFile(String path,
Connection con) |
VFSFile |
VFSFileFactory.getFile(String path,
Connection con) |
VFSFile |
VFSFileFactory.getFile(String parent,
String path,
Connection con) |
VirtualMountManager |
VirtualFileFactory.getMountManager(Connection con) |
Constructor and Description |
---|
VFSFile(org.apache.commons.vfs2.FileObject file,
VFSFileFactory fileFactory,
Connection con) |
VFSFile(String path,
String defaultPath,
VFSFileFactory fileFactory,
Connection con,
org.apache.commons.vfs2.FileSystemOptions opts) |
VFSFile(String path,
VFSFileFactory fileFactory,
Connection con) |
VirtualMappedFile(String path,
Connection con,
VirtualMount parentMount,
VirtualFileFactory fileFactory) |
VirtualMount(String mount,
String path,
VirtualFileFactory virtualFileFactory,
AbstractFileFactory<?> actualFileFactory,
Connection con) |
VirtualMountFile(String path,
VirtualMount mount,
VirtualMountManager mgr,
Connection con) |
VirtualMountManager(Connection con,
VirtualFileFactory fileFactory) |
VirtualMountManager(Connection con,
VirtualFileFactory fileFactory,
VirtualMountTemplate homeMount,
VirtualMountTemplate... additionalMounts) |
Modifier and Type | Field and Description |
---|---|
protected Connection |
ProxySession.con |
Modifier and Type | Method and Description |
---|---|
protected Channel |
ProxyChannelFactory.createSessionChannel(Connection con)
This method creates a
ProxySession for the given connection |
ProxyFile |
ProxyFileFactory.getDefaultPath(Connection con)
This method is to get default path of server file structure
|
ProxyFile |
ProxyFileFactory.getFile(String fileName,
Connection con)
This method to get the reference to remote file
|
protected com.sshtools.sftp.SftpClient |
ProxyFileFactory.getSftpClient(Connection con) |
Constructor and Description |
---|
ProxySession(Connection con) |
Modifier and Type | Method and Description |
---|---|
Connection |
VirtualProcess.getConnection() |
Connection |
RootShell.getConnection() |
Modifier and Type | Method and Description |
---|---|
protected void |
ShellCommandFactory.configureCommand(ShellCommand c,
Connection con) |
protected void |
CommandFactory.configureCommand(T command,
Connection con) |
T |
CommandFactory.createCommand(String command,
Connection con) |
protected Channel |
VirtualChannelFactory.createSessionChannel(Connection con) |
RootShell |
ShellCommandFactory.createShell(Connection connection) |
protected ShellCommand |
ShellCommandFactory.newInstance(String command,
Connection con) |
protected T |
CommandFactory.newInstance(String command,
Connection con) |
Constructor and Description |
---|
RootShell(CommandFactory<ShellCommand> commandFactory,
Connection con) |
Modifier and Type | Method and Description |
---|---|
protected void |
AdminCommandFactory.configureCommand(ShellCommand c,
Connection con) |
Modifier and Type | Method and Description |
---|---|
protected void |
FileSystemCommandFactory.configureCommand(ShellCommand c,
Connection con) |
Modifier and Type | Method and Description |
---|---|
protected void |
ScriptCommandFactory.configureCommand(ShellCommand c,
Connection con) |
Constructor and Description |
---|
CommandCompletor(VirtualProcess process,
CommandFactory<T> commandFactory,
Connection con) |
Copyright © 2024. All rights reserved.