Package | Description |
---|---|
com.maverick.sshd |
This package contains the base implementation of the SSH server.
|
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.sftp | |
com.maverick.sshd.sftp.extensions | |
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 | |
com.sshtools.server.vshell.commands.admin | |
com.sshtools.server.vshell.commands.fs | |
com.sshtools.server.vshell.commands.script |
Modifier and Type | Method and Description |
---|---|
void |
PublicKeyAuthenticationProvider.add(SshPublicKey key,
String comment,
Connection con) |
String |
SftpSubsystem.checkDefaultPath(String path) |
Channel |
DefaultChannelFactory.createChannel(String channeltype,
Connection con) |
Channel |
ChannelFactory.createChannel(String channeltype,
Connection con) |
protected Channel |
DefaultChannelFactory.createSessionChannel(Connection con) |
protected SftpSubsystem |
DefaultChannelFactory.createSftpSubsystem(SessionChannel session) |
Subsystem |
DefaultChannelFactory.createSubsystem(String name,
SessionChannel session) |
Subsystem |
ChannelFactory.createSubsystem(String name,
SessionChannel session) |
Iterator<SshPublicKeyFile> |
PublicKeyAuthenticationProvider.getKeys(Connection con) |
void |
PublicKeyAuthenticationProvider.remove(SshPublicKey key,
Connection con) |
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) |
protected AbstractFile |
AuthorizedKeysPublicKeyAuthenticationProvider.getFile(Connection connection) |
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) |
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) |
Modifier and Type | Method and Description |
---|---|
FileSystem |
FileSystemFactory.createInstance(Connection con,
String protocolInUse) |
void |
FileSystem.createSymbolicLink(String link,
String target)
Deprecated.
Create a symbolic link.
|
boolean |
FileSystem.fileExists(String path)
Deprecated.
Determine whether a file exists and return the result
|
String |
FileSystem.getDefaultPath()
Deprecated.
Get the default path for the current session.
|
SftpFileAttributes |
FileSystem.getFileAttributes(byte[] handle)
Deprecated.
Get the attributes for a given file handle.
|
SftpFileAttributes |
FileSystem.getFileAttributes(String path)
Deprecated.
Get the attributes for a given file.
|
String |
FileSystem.getRealPath(String path)
Deprecated.
Get the real path for a given path.
|
boolean |
FileSystem.makeDirectory(String path,
SftpFileAttributes attrs)
Deprecated.
Create a directory.
|
byte[] |
FileSystem.openDirectory(String path)
Deprecated.
Open a directory for reading and allocate an open file handle.
|
byte[] |
FileSystem.openFile(String path,
UnsignedInteger32 flags,
SftpFileAttributes attrs)
Deprecated.
Open a file for reading/writing and allocate an open file handle.
|
SftpFile[] |
FileSystem.readDirectory(byte[] handle)
Deprecated.
Read the contents of a directory.
|
SftpFile |
FileSystem.readSymbolicLink(String path)
Deprecated.
Read the target location of a symbolic link.
|
void |
FileSystem.removeDirectory(String path)
Deprecated.
Remove an empty directory from the file system.
|
void |
FileSystem.removeFile(String path)
Deprecated.
Remove a file.
|
void |
FileSystem.renameFile(String oldpath,
String newpath)
Deprecated.
Rename a file.
|
void |
FileSystem.setFileAttributes(byte[] handle,
SftpFileAttributes attrs)
Deprecated.
Set the open files attributes
|
void |
FileSystem.setFileAttributes(String path,
SftpFileAttributes attrs)
Deprecated.
Set the files attributes.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractFileSystem.copyData(byte[] handle,
UnsignedInteger64 offset,
UnsignedInteger64 length,
byte[] toHandle,
UnsignedInteger64 toOffset) |
void |
AbstractFileSystem.copyFile(String oldpath,
String newpath,
boolean overwrite) |
void |
AbstractFileImpl.copyFrom(AbstractFile src) |
void |
AbstractFileAdapter.copyFrom(AbstractFile src) |
void |
AbstractFile.copyFrom(AbstractFile src) |
boolean |
AbstractFileAdapter.createFolder() |
boolean |
AbstractFile.createFolder() |
boolean |
AbstractDirectFile.createFolder() |
FileSystem |
DirectFileSystemFactory.createInstance(Connection con,
String protocolInUse) |
boolean |
AbstractFileAdapter.createNewFile() |
boolean |
AbstractFile.createNewFile() |
boolean |
AbstractDirectFile.createNewFile() |
void |
AbstractFileSystem.createSymbolicLink(String link,
String target) |
boolean |
AbstractFileAdapter.delete(boolean recursive) |
boolean |
AbstractFile.delete(boolean recursive) |
boolean |
AbstractFileSystem.fileExists(String path) |
String |
AbstractFileAdapter.getAbsolutePath() |
String |
AbstractFile.getAbsolutePath() |
SftpFileAttributes |
AbstractFileAdapter.getAttributes() |
SftpFileAttributes |
AbstractFile.getAttributes() |
String |
AbstractFileAdapter.getCanonicalPath() |
String |
AbstractFile.getCanonicalPath() |
AbstractFile[] |
AbstractFileSystem.OpenDirectory.getChildren() |
List<AbstractFile> |
AbstractFileAdapter.getChildren() |
List<AbstractFile> |
AbstractFile.getChildren() |
String |
AbstractFileSystem.getDefaultPath() |
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) |
SftpFileAttributes |
AbstractFileSystem.getFileAttributes(byte[] handle) |
SftpFileAttributes |
AbstractFileSystem.getFileAttributes(String path) |
String |
AbstractFileSystem.getRealPath(String path) |
boolean |
AbstractFileSystem.makeDirectory(String path,
SftpFileAttributes attrs) |
void |
AbstractFileImpl.moveTo(AbstractFile target) |
void |
AbstractFileAdapter.moveTo(AbstractFile target) |
void |
AbstractFile.moveTo(AbstractFile target) |
void |
AbstractDirectFile.moveTo(AbstractFile f2) |
byte[] |
AbstractFileSystem.openDirectory(String path) |
byte[] |
AbstractFileSystem.openDirectory(String path,
SftpFileFilter filter) |
byte[] |
AbstractFileSystem.openFile(String path,
UnsignedInteger32 flags,
SftpFileAttributes attrs) |
SftpFile[] |
AbstractFileSystem.readDirectory(byte[] handle) |
SftpFile |
AbstractFileSystem.readSymbolicLink(String path) |
void |
AbstractFileSystem.removeDirectory(String path) |
void |
AbstractFileSystem.removeFile(String path) |
void |
AbstractFileSystem.renameFile(String oldpath,
String newpath) |
AbstractFile |
DirectFileJava7.resolveFile(String child) |
AbstractFile |
DirectFile.resolveFile(String child) |
AbstractFile |
AbstractFileAdapter.resolveFile(String child) |
AbstractFile |
AbstractFile.resolveFile(String child) |
protected AbstractFile |
AbstractFileSystem.resolveFile(String path,
Connection con) |
void |
AbstractFileAdapter.setAttributes(SftpFileAttributes attrs) |
void |
AbstractFile.setAttributes(SftpFileAttributes attrs) |
void |
AbstractFileSystem.setFileAttributes(byte[] handle,
SftpFileAttributes attrs) |
void |
AbstractFileSystem.setFileAttributes(String path,
SftpFileAttributes attrs) |
void |
AbstractFileAdapter.truncate() |
void |
AbstractFile.truncate() |
void |
AbstractDirectFile.truncate() |
Constructor and Description |
---|
OpenDirectory(AbstractFile f,
SftpFileFilter filter) |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
AbstractDigestExtension.doHash(String algorithm,
byte[] handle,
long startOffset,
long length,
SftpSubsystem sftp) |
protected byte[] |
AbstractDigestExtension.doHash(String algorithm,
String filename,
long startOffset,
long length,
SftpSubsystem sftp) |
protected byte[] |
AbstractMD5Extension.doMD5Hash(byte[] handle,
long startOffset,
long length,
byte[] quickCheckHash,
SftpSubsystem sftp) |
protected byte[] |
AbstractMD5Extension.doMD5Hash(String filename,
long startOffset,
long length,
byte[] quickCheckHash,
SftpSubsystem sftp) |
protected byte[] |
FilenameHashingExtension.getFileHandle(ByteArrayReader msg,
SftpSubsystem sftp) |
protected abstract byte[] |
FileHashingExtension.getFileHandle(ByteArrayReader msg,
SftpSubsystem sftp) |
protected byte[] |
FileHandleHashingExtension.getFileHandle(ByteArrayReader msg,
SftpSubsystem sftp) |
Modifier and Type | Method and Description |
---|---|
void |
VirtualMountFile.copyFrom(AbstractFile src) |
void |
VirtualMappedFile.copyFrom(AbstractFile src) |
void |
VFSFile.copyFrom(AbstractFile src) |
boolean |
VirtualMountFile.createFolder() |
boolean |
VFSFile.createFolder() |
VirtualMount |
VirtualMountManager.createMount(String mount,
String path) |
VirtualMount |
VirtualMountManager.createMount(String mount,
String path,
AbstractFileFactory<?> actualFileFactory) |
boolean |
VirtualMountFile.createNewFile() |
boolean |
VFSFile.createNewFile() |
boolean |
VirtualMountFile.delete(boolean recursive) |
String |
VirtualMountFile.getAbsolutePath() |
String |
VirtualMappedFile.getAbsolutePath() |
String |
VFSFile.getAbsolutePath() |
SftpFileAttributes |
VirtualMountFile.getAttributes() |
String |
VirtualMountFile.getCanonicalPath() |
String |
VirtualMappedFile.getCanonicalPath() |
String |
VFSFile.getCanonicalPath() |
List<AbstractFile> |
VirtualMountFile.getChildren() |
List<AbstractFile> |
VirtualMappedFile.getChildren() |
List<AbstractFile> |
VFSFile.getChildren() |
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) |
void |
VirtualFileFactory.init(String defaultPath) |
void |
VirtualMountManager.mount(VirtualMount mount) |
void |
VirtualMountFile.moveTo(AbstractFile target) |
void |
VirtualMappedFile.moveTo(AbstractFile target) |
void |
VFSFile.moveTo(AbstractFile target) |
AbstractFile |
VirtualMountFile.resolveFile(String child) |
AbstractFile |
VirtualMappedFile.resolveFile(String child) |
AbstractFile |
VFSFile.resolveFile(String child) |
void |
VirtualMountFile.setAttributes(SftpFileAttributes attrs) |
protected String |
VirtualMappedFile.translateCanonicalPath(String path,
String securemount) |
void |
VirtualMountFile.truncate() |
void |
VFSFile.truncate() |
Constructor and Description |
---|
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 | Method and Description |
---|---|
void |
ProxyFile.copyFrom(AbstractFile src)
Copy contain of source file to this file
|
boolean |
ProxyFile.createFolder()
Create the folder in the server
|
boolean |
ProxyFile.createNewFile()
Create the file in the server
|
protected Channel |
ProxyChannelFactory.createSessionChannel(Connection con)
This method creates a
ProxySession for the given connection |
boolean |
ProxyFile.delete(boolean recursive)
Delete file or folder in the server
|
String |
ProxyFile.getAbsolutePath()
Return the absolute path to the file
|
SftpFileAttributes |
ProxyFile.getAttributes()
This method returns
SftpFileAttributes of the file |
String |
ProxyFile.getCanonicalPath()
This method return Canonical path of the file
|
List<AbstractFile> |
ProxyFile.getChildren()
This method return the list of Abstractfile this ProxyFile has.
|
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
|
void |
ProxyFile.moveTo(AbstractFile destination) |
AbstractFile |
ProxyFile.resolveFile(String path) |
void |
ProxyFile.truncate() |
Modifier and Type | Method and Description |
---|---|
protected void |
ShellCommandFactory.configureCommand(ShellCommand c,
Connection con) |
protected void |
CommandFactory.configureCommand(T command,
Connection con) |
VirtualProcess |
VirtualProcessFactory.createChildProcess(VirtualProcess parent,
ShellCommand command,
Msh msh) |
VirtualProcess |
DefaultVirtualProcessFactory.createChildProcess(VirtualProcess parent,
ShellCommand cmd,
Msh msh) |
T |
CommandFactory.createCommand(String command,
Connection con) |
VirtualProcess |
VirtualProcessFactory.createRootProcess(TerminalOutput terminal,
Msh msh,
Environment environment,
Thread thread,
ShellCommand command,
AbstractFile workingDirectory,
Console console,
SessionChannel session) |
VirtualProcess |
DefaultVirtualProcessFactory.createRootProcess(TerminalOutput terminal,
Msh msh,
Environment environment,
Thread thread,
ShellCommand command,
AbstractFile workingDirectory,
Console console,
SessionChannel session) |
RootShell |
ShellCommandFactory.createShell(Connection connection) |
protected int |
Msh.doSpawn(Console term,
VirtualProcess process,
String[] args,
boolean background) |
void |
RootShell.execCommand(DynamicBuffer input,
TerminalOutput term,
String cmd,
SessionChannel session) |
protected ShellCommand |
ShellCommandFactory.newInstance(String command,
Connection con) |
protected T |
CommandFactory.newInstance(String command,
Connection con) |
protected void |
RootShell.promptForCommands(org.apache.commons.cli.CommandLine args,
VirtualProcess process) |
void |
RootShell.run(org.apache.commons.cli.CommandLine args,
VirtualProcess process) |
void |
Msh.run(org.apache.commons.cli.CommandLine cli,
VirtualProcess process) |
void |
Command.run(org.apache.commons.cli.CommandLine args,
VirtualProcess process) |
void |
VirtualProcess.setCurrentDirectory(AbstractFile workingDirectory) |
void |
VirtualProcess.setCurrentDirectory(String workingDirectory) |
boolean |
RootShell.startShell(DynamicBuffer input,
TerminalOutput term,
SessionChannel session) |
Constructor and Description |
---|
RootShell(CommandFactory<ShellCommand> commandFactory,
Connection con) |
Modifier and Type | Method and Description |
---|---|
void |
Scp.run(org.apache.commons.cli.CommandLine args,
VirtualProcess process) |
void |
Clear.run(org.apache.commons.cli.CommandLine args,
VirtualProcess process) |
void |
Catch.run(org.apache.commons.cli.CommandLine cli,
VirtualProcess process) |
Modifier and Type | Method and Description |
---|---|
protected void |
AdminCommandFactory.configureCommand(ShellCommand c,
Connection con) |
void |
Pref.run(org.apache.commons.cli.CommandLine cli,
VirtualProcess process) |
void |
Connections.run(org.apache.commons.cli.CommandLine args,
VirtualProcess process) |
Modifier and Type | Method and Description |
---|---|
protected void |
FileSystemCommandFactory.configureCommand(ShellCommand c,
Connection con) |
void |
Edit.loadFile(String path) |
protected void |
Ls.printFile(org.apache.commons.cli.CommandLine cli,
Console term,
VirtualProcess process,
AbstractFile file) |
void |
Rm.run(org.apache.commons.cli.CommandLine cli,
VirtualProcess process) |
void |
Pwd.run(org.apache.commons.cli.CommandLine args,
VirtualProcess process) |
void |
Mv.run(org.apache.commons.cli.CommandLine cli,
VirtualProcess process) |
void |
Mkdir.run(org.apache.commons.cli.CommandLine args,
VirtualProcess process) |
void |
Ls.run(org.apache.commons.cli.CommandLine args,
VirtualProcess process) |
void |
Follow.run(org.apache.commons.cli.CommandLine cli,
VirtualProcess process) |
void |
Edit.run(org.apache.commons.cli.CommandLine args,
VirtualProcess process) |
void |
Cp.run(org.apache.commons.cli.CommandLine cli,
VirtualProcess process) |
void |
Cd.run(org.apache.commons.cli.CommandLine cli,
VirtualProcess process) |
void |
Cat.run(org.apache.commons.cli.CommandLine cli,
VirtualProcess process) |
Modifier and Type | Method and Description |
---|---|
protected void |
ScriptCommandFactory.configureCommand(ShellCommand c,
Connection con) |
void |
Source.run(org.apache.commons.cli.CommandLine cli,
VirtualProcess process) |
void |
Run.run(org.apache.commons.cli.CommandLine cli,
VirtualProcess process) |
Copyright © 2024. All rights reserved.