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 Detail

      • configSshAuth

        com.jcraft.jsch.Session configSshAuth​(com.jcraft.jsch.JSch ssh)
                                       throws com.jcraft.jsch.JSchException
        Get a ssh session configured with credentials.
        Parameters:
        ssh - JSch ssh client
        Returns:
        ssh sessions with configured auth
        Throws:
        com.jcraft.jsch.JSchException - if configuring went wrong