Interface ServerKeyDatabase.Configuration

    • Method Detail

      • getUserKnownHostsFiles

        java.util.List<java.lang.String> getUserKnownHostsFiles()
        Retrieves the list of file names from the "UserKnownHostsFile" ssh config.
        Returns:
        the list as configured, with ~ already replaced
      • getGlobalKnownHostsFiles

        java.util.List<java.lang.String> getGlobalKnownHostsFiles()
        Retrieves the list of file names from the "GlobalKnownHostsFile" ssh config.
        Returns:
        the list as configured, with ~ already replaced
      • getHashKnownHosts

        boolean getHashKnownHosts()
        Obtains the value of the "HashKnownHosts" ssh config.
        Returns:
        true if new entries should be stored with hashed host information, false otherwise
      • getUsername

        @NonNull
        java.lang.String getUsername()
        Obtains the user name used in the connection attempt.
        Returns:
        the user name