This commit is contained in:
rasta5man 2025-04-16 21:46:50 +02:00
commit b8e528dfff
5 changed files with 383 additions and 0 deletions

40
Server.java Normal file
View file

@ -0,0 +1,40 @@
package handleSsh;
public class Server {
private String host;
private String username;
private String password;
private String path;
private int port;
public Server(String host, String username, String password, String path, int port) {
this.host = host;
this.username = username;
this.password = password;
this.path = path;
this.port = port;
}
public String getHost() {
return host;
}
public String getUsername() {
return username;
}
public String getPassword() {
return password;
}
public String getPath() {
return path;
}
public int getPort() {
return port;
}
@Override
public String toString() {
return "Server{" +
"host='" + host + '\'' +
'}';
}
}