Class SSHService
java.lang.Object
de.bytestore.hostinger.process.service.SSHService
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SSHService
public SSHService()
-
-
Method Details
-
createSSH
Creates a new SSHSocket object and initializes the SSH connection.- Parameters:
hostnameIO- the hostname of the SSH serverusernameIO- the username for authenticationpasswordIO- the password for authenticationportIO- the port number for the SSH connection- Returns:
- the created SSHSocket object
-
close
Closes the SSHSocket and removes it from the sockets HashMap if it exists.- Parameters:
socketIO- the SSHSocket to be closed
-