public class SshAuthenticationWithKey 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 int |
port
This attribute represents the port for the connection.
|
private java.lang.String |
user
username.
|
| Constructor and Description |
|---|
SshAuthenticationWithKey(java.lang.String user,
java.lang.String host,
int port,
java.lang.String keyPath) |
| 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
public SshAuthenticationWithKey(java.lang.String user,
java.lang.String host,
int port,
java.lang.String keyPath)
user - userhost - hostport - portkeyPath - keyPathpublic void startSshRemoteUpdate(java.io.File[] files)
throws RemoteUpdateException
startSshRemoteUpdate in interface AbstractSshAuthenticationfiles - filesRemoteUpdateException - RemoteUpdateException