Class SshClientCommand
java.lang.Object
com.sshtools.server.vsession.AbstractCommand
com.sshtools.server.vsession.ShellCommand
com.sshtools.vsession.commands.ssh.AbstractSshClientCommand
com.sshtools.vsession.commands.ssh.SshClientCommand
- All Implemented Interfaces:
Command
-
Field Summary
Fields inherited from class com.sshtools.vsession.commands.ssh.AbstractSshClientCommand
console, options
Fields inherited from class com.sshtools.server.vsession.ShellCommand
SUBSYSTEM_CALLBACK, SUBSYSTEM_FILESYSTEM, SUBSYSTEM_HELP, SUBSYSTEM_JVM, SUBSYSTEM_POLICY, SUBSYSTEM_SHELL, SUBSYSTEM_SSHD, SUBSYSTEM_SYSTEM, SUBSYSTEM_TEXT_EDITING
Fields inherited from class com.sshtools.server.vsession.AbstractCommand
exitCode
Fields inherited from interface com.sshtools.server.vsession.Command
STILL_ACTIVE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SshClientArguments
generateCommandArguments
(org.apache.commons.cli.CommandLine cli, String[] args) void
runCommand
(SshClient sshClient, SshClientArguments arguments, VirtualConsole console) Methods inherited from class com.sshtools.vsession.commands.ssh.AbstractSshClientCommand
complete, filterArgs, getOptions, getUsage, run
Methods inherited from class com.sshtools.server.vsession.AbstractCommand
getCommandName, getDescription, getExitCode, getName, getSubsystem, isBuiltIn, isHidden, setBuiltIn, setDescription, setName, setSignature, setSubsystem
-
Constructor Details
-
SshClientCommand
public SshClientCommand()
-
-
Method Details
-
runCommand
- Specified by:
runCommand
in classAbstractSshClientCommand
-
generateCommandArguments
protected SshClientArguments generateCommandArguments(org.apache.commons.cli.CommandLine cli, String[] args) throws IOException, com.sshtools.common.permissions.PermissionDeniedException - Specified by:
generateCommandArguments
in classAbstractSshClientCommand
- Throws:
IOException
com.sshtools.common.permissions.PermissionDeniedException
-