public class SshAuthenticationWithKeyAndPassphrase extends java.lang.Object implements AbstractSshAuthentication
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
host
The routers IP.
|
private java.lang.String |
keyPath
path to keyfile.
|
private java.lang.String |
passphrase
passphrase for the key.
|
private int |
port
This attribute represents the port for the connection.
|
private java.lang.String |
user
username.
|
| Constructor and Description |
|---|
SshAuthenticationWithKeyAndPassphrase(java.lang.String user,
java.lang.String host,
int port,
java.lang.String keyPath,
java.lang.String passphrase) |
| Modifier and Type | Method and Description |
|---|---|
void |
startSshRemoteUpdate(java.io.File[] files) |
private final transient java.lang.String user
private final transient java.lang.String host
private final transient int port
private final transient java.lang.String keyPath
private final transient java.lang.String passphrase
public SshAuthenticationWithKeyAndPassphrase(java.lang.String user,
java.lang.String host,
int port,
java.lang.String keyPath,
java.lang.String passphrase)
user - userhost - hostport - portkeyPath - keyPathpassphrase - passphrasepublic void startSshRemoteUpdate(java.io.File[] files)
throws RemoteUpdateException
startSshRemoteUpdate in interface AbstractSshAuthenticationfiles - filesRemoteUpdateException - RemoteUpdateException