Interface ServerKeyDatabase.Configuration

    • Method Detail

      • getUserKnownHostsFiles

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

        List<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
        String getUsername()
        Obtains the user name used in the connection attempt.
        Returns:
        the user name