com.rationaleemotions.pojo.SSHHost Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simple-ssh Show documentation
Show all versions of simple-ssh Show documentation
A simple way of interacting with a remote host for executing commands, scp (upload and download)
package com.rationaleemotions.pojo;
/**
* Represents the attributes associated with a remote host.
*/
public class SSHHost {
private String hostname;
private int port = 22;
private boolean doHostKeyChecks;
private int timeoutSeconds;
public String getHostname() {
return hostname;
}
public void setHostname(String hostname) {
this.hostname = hostname;
}
public int getPort() {
return port;
}
public void setPort(int port) {
this.port = port;
}
public boolean isDoHostKeyChecks() {
return doHostKeyChecks;
}
public void setDoHostKeyChecks(boolean doHostKeyChecks) {
this.doHostKeyChecks = doHostKeyChecks;
}
public int getTimeoutSeconds() {
return timeoutSeconds;
}
public void setTimeoutSeconds(int timeoutSeconds) {
this.timeoutSeconds = timeoutSeconds;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy