Authentication Features

List of features related to authentication methods.

Java Reference String Value Description
Features.AUTH_CREDENTIALS net.sf.commons.ssh.PasswordAuthenticationOptions If connection factory supports authentication by specified username and password
Features.AUTH_PUBLICKEY net.sf.commons.ssh.PublicKeyAuthenticationOptions If connection factory supports authentication by public key

Session Type Features

List of features related to supported types of sessions.

Java Reference String Value Description
Features.SESSION_EXEC net.sf.commons.ssh.ExecSession If connection factory supports command execution session
Features.SESSION_SFTP net.sf.commons.ssh.SftpSession If connection factory supports SFTP session
Features.SESSION_SHELL net.sf.commons.ssh.ShellSession If connection factory supports shell session