Package com.exasol.exasoltestsetup
Interface SshConnection.SshConfigurator
-
- Enclosing class:
- SshConnection
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface SshConnection.SshConfigurator
Functional interface that configures ssh auth.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.jcraft.jsch.SessionconfigSshAuth(com.jcraft.jsch.JSch ssh)Get a ssh session configured with credentials.
-
-
-
Method Detail
-
configSshAuth
com.jcraft.jsch.Session configSshAuth(com.jcraft.jsch.JSch ssh) throws com.jcraft.jsch.JSchExceptionGet a ssh session configured with credentials.- Parameters:
ssh-JSchssh client- Returns:
- ssh sessions with configured auth
- Throws:
com.jcraft.jsch.JSchException- if configuring went wrong
-
-