org.apache.accumulo.cluster
public class RemoteShellOptions extends Object
SSH_PROPERTIES_FILE
or using the normal system properties. Any relevant properties set in the system
properties take precedence over the provided file.Modifier and Type | Field and Description |
---|---|
protected Properties |
properties |
static String |
SSH_COMMAND_DEFAULT |
static String |
SSH_COMMAND_KEY |
static String |
SSH_OPTIONS_DEFAULT |
static String |
SSH_OPTIONS_KEY |
static String |
SSH_PREFIX |
static String |
SSH_PROPERTIES_FILE |
static String |
SSH_USER_DEFAULT |
static String |
SSH_USER_KEY |
Constructor and Description |
---|
RemoteShellOptions() |
Modifier and Type | Method and Description |
---|---|
String |
getSshCommand()
The explicit SSH executable to invoke
|
String |
getSshOptions()
Extra SSH options that can be provided
|
String |
getUserName()
Fetch the configured user to ssh as
|
public static final String SSH_PREFIX
public static final String SSH_COMMAND_KEY
public static final String SSH_COMMAND_DEFAULT
public static final String SSH_OPTIONS_KEY
public static final String SSH_OPTIONS_DEFAULT
public static final String SSH_USER_KEY
public static final String SSH_USER_DEFAULT
public static final String SSH_PROPERTIES_FILE
protected Properties properties
public String getUserName()
SSH_USER_DEFAULT
public String getSshOptions()
SSH_OPTIONS_DEFAULT
public String getSshCommand()
SSH_COMMAND_DEFAULT
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.