All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.rationaleemotions.pojo.SSHHost Maven / Gradle / Ivy

Go to download

A simple way of interacting with a remote host for executing commands, scp (upload and download)

There is a newer version: 1.0.2
Show newest version
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