public class DiagnoseTunnelCommand extends AbstractTunnelCommand
Command implementation that tunnels another SSH session in its stdin/stdout.
The tunneled SSH session runs the "diagnose JOBNAME" command implicitly, thereby
making the nested SSH session behave like a real SSH connection to a real server.| Constructor and Description |
|---|
DiagnoseTunnelCommand(org.jenkinsci.main.modules.sshd.SshCommandFactory.CommandLine command) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.sshd.server.CommandFactory |
getCommandFactory() |
protected org.apache.sshd.common.Factory<org.apache.sshd.server.Command> |
getShellFactory() |
protected int |
run()
Turn the connection over into another nested SSH session.
|
getFileSystemFactorypublic DiagnoseTunnelCommand(org.jenkinsci.main.modules.sshd.SshCommandFactory.CommandLine command)
protected int run()
throws Exception
AbstractTunnelCommandrun in class AbstractTunnelCommandExceptionprotected org.apache.sshd.server.CommandFactory getCommandFactory()
getCommandFactory in class AbstractTunnelCommandprotected org.apache.sshd.common.Factory<org.apache.sshd.server.Command> getShellFactory()
getShellFactory in class AbstractTunnelCommandCopyright © 2004-2013. All Rights Reserved.