@NotThreadSafe public class SshCommand extends ShellCommand
Constructor and Description |
---|
SshCommand(String hostname,
String[] execString)
Creates a SshCommand instance from the remote hostname and command.
|
Modifier and Type | Method and Description |
---|---|
String |
getHostName()
Returns the remote target hostname.
|
getCommand, run, runWithOutput, toString
public String getHostName()
Copyright © 2023. All Rights Reserved.