Index

A C D E G I L O R S U W 
All Classes and Interfaces|All Packages

A

authenticate(String) - Method in class org.sentrysoftware.ssh.SshClient
Authenticate the SSH Client against the SSH server using NO password
authenticate(String, char[]) - Method in class org.sentrysoftware.ssh.SshClient
Authenticate the SSH Client against the SSH server using a password
authenticate(String, File, char[]) - Method in class org.sentrysoftware.ssh.SshClient
Authenticate the SSH Client against the SSH server using a private key
authenticate(String, String) - Method in class org.sentrysoftware.ssh.SshClient
Deprecated.
(since = "3.14.00", forRemoval = true)
authenticate(String, String, String) - Method in class org.sentrysoftware.ssh.SshClient
Deprecated.
(since = "3.14.00", forRemoval = true)

C

checkArgumentNotZeroOrNegative(long, String) - Static method in class org.sentrysoftware.ssh.Utils
Check if the required argument is not negative or zero.
checkIfSessionOpened() - Method in class org.sentrysoftware.ssh.SshClient
Check if the SSH session exists.
checkNonNullField(T, String) - Static method in class org.sentrysoftware.ssh.Utils
Check if the required field is not null.
close() - Method in class org.sentrysoftware.ssh.SshClient
Disconnects the SSH Client from the SSH server
CommandResult() - Constructor for class org.sentrysoftware.ssh.SshClient.CommandResult
 
connect() - Method in class org.sentrysoftware.ssh.SshClient
Connects the SSH Client to the SSH server
connect(int) - Method in class org.sentrysoftware.ssh.SshClient
Connects the SSH client to the SSH server using the default SSH port (22).
connect(int, int) - Method in class org.sentrysoftware.ssh.SshClient
Connects the SSH client to the SSH server using a specified SSH port.

D

disconnect() - Method in class org.sentrysoftware.ssh.SshClient
Deprecated.
(since = "3.14.00", forRemoval = true)

E

executeCommand(String) - Method in class org.sentrysoftware.ssh.SshClient
Executes a command through the SSH connection
executeCommand(String, int) - Method in class org.sentrysoftware.ssh.SshClient
Executes a command through the SSH connection
executionTime - Variable in class org.sentrysoftware.ssh.SshClient.CommandResult
How much time was taken by the execution itself (not counting the connection time), in seconds
exitStatus - Variable in class org.sentrysoftware.ssh.SshClient.CommandResult
The exit code (status) returned by the command (process return code).

G

getCharsetFromLocale(String) - Static method in class org.sentrysoftware.ssh.Utils
Returns the proper Charset that can decode/encode the specified locale, or UTF-8 if specified locale cannot be converted to a Charset.
getCharsetFromLocale(String, Charset) - Static method in class org.sentrysoftware.ssh.Utils
Returns the proper Charset that can decode/encode the specified locale

I

interactiveSession(InputStream, OutputStream) - Method in class org.sentrysoftware.ssh.SshClient
Starts an interactive session.

L

listFiles(String, String, boolean) - Method in class org.sentrysoftware.ssh.SshClient
List the content of the specified directory through the SSH connection (using SCP)

O

openSession() - Method in class org.sentrysoftware.ssh.SshClient
Open a SSH Session.
openTerminal() - Method in class org.sentrysoftware.ssh.SshClient
Open a Terminal request for a wiiiiide terminal, with no ECHO (see https://tools.ietf.org/html/rfc4254#section-8)
org.sentrysoftware.ssh - package org.sentrysoftware.ssh
 

R

read(int, int) - Method in class org.sentrysoftware.ssh.SshClient
Read the stdout and stderr from the SSH session.
readFile(String, Long, Integer) - Method in class org.sentrysoftware.ssh.SshClient
Read the specified file over the SSH session that was established.
readFileAttributes(String) - Method in class org.sentrysoftware.ssh.SshClient
Return information about the specified file on the connected system, in the same format as the PSL function file()
removeFile(String) - Method in class org.sentrysoftware.ssh.SshClient
Removes the specified file on the remote system.
removeFile(String[]) - Method in class org.sentrysoftware.ssh.SshClient
Removes a list of files on the remote system.
result - Variable in class org.sentrysoftware.ssh.SshClient.CommandResult
The result of the command (stdout and stderr is merged into result)

S

scp(String, String, String, String) - Method in class org.sentrysoftware.ssh.SshClient
Copy a file to the remote host through SCP
SshClient - Class in org.sentrysoftware.ssh
SSH Client that lets you perform basic SSH operations Instantiate the SSH Client Connect Authenticate Enjoy! DISCONNECT!
SshClient(String) - Constructor for class org.sentrysoftware.ssh.SshClient
Creates an SSHClient to connect to the specified hostname
SshClient(String, String) - Constructor for class org.sentrysoftware.ssh.SshClient
Creates an SSHClient to connect to the specified hostname
SshClient(String, Charset) - Constructor for class org.sentrysoftware.ssh.SshClient
Creates an SSHClient to connect to the specified hostname
SshClient.CommandResult - Class in org.sentrysoftware.ssh
Represents the result of a command execution
success - Variable in class org.sentrysoftware.ssh.SshClient.CommandResult
Whether the command was successful or not

U

Utils - Class in org.sentrysoftware.ssh
Utility Class (static), to be used anywhere in Matsya, including in standalone JARs (in CLI mode)

W

write(String) - Method in class org.sentrysoftware.ssh.SshClient
Write into the SSH session.
A C D E G I L O R S U W 
All Classes and Interfaces|All Packages