Class SshHostKey


  • public class SshHostKey
    extends Object
    Description of the SSH daemon host key used by Gerrit.
    • Field Detail

      • hostIdent

        protected String hostIdent
      • hostKey

        protected String hostKey
      • fingerprint

        protected String fingerprint
    • Constructor Detail

      • SshHostKey

        protected SshHostKey()
    • Method Detail

      • getHostIdent

        public String getHostIdent()
        Returns:
        host name string, to appear in a known_hosts file.
      • getHostKey

        public String getHostKey()
        Returns:
        base 64 encoded host key string, starting with key type.
      • getFingerprint

        public String getFingerprint()
        Returns:
        the key fingerprint, as displayed by a connecting client.