public class SshAuthenticationWithPassword extends java.lang.Object implements AbstractSshAuthentication
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
host
The routers IP.
|
private java.lang.String |
password
password for the user.
|
private int |
port
This attribute represents the port for the connection.
|
private java.lang.String |
user
username.
|
Constructor and Description |
---|
SshAuthenticationWithPassword(java.lang.String user,
java.lang.String password,
java.lang.String host,
int port) |
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 password
private final transient java.lang.String host
private final transient int port
public SshAuthenticationWithPassword(java.lang.String user, java.lang.String password, java.lang.String host, int port)
user
- userpassword
- passwordhost
- hostport
- portpublic void startSshRemoteUpdate(java.io.File[] files) throws RemoteUpdateException
startSshRemoteUpdate
in interface AbstractSshAuthentication
files
- filesRemoteUpdateException
- RemoteUpdateException