Alle Optionen
trixie  ] [  sid  ]
[ Quellcode: golang-github-skeema-knownhosts  ]

Paket: golang-github-skeema-knownhosts-dev (1.3.0-1)

Links für golang-github-skeema-knownhosts-dev

Screenshot

Debian-Ressourcen:

Quellcode-Paket golang-github-skeema-knownhosts herunterladen:

Betreuer:

Externe Ressourcen:

Ähnliche Pakete:

Go SSH known_hosts wrapper with host key lookup (library)

Go provides excellent functionality for OpenSSH known_hosts files in its external package golang.org/x/crypto/ssh/knownhosts. However, that package is somewhat low-level, making it difficult to implement full known_hosts management similar to command-line ssh's behavior for StrictHostKeyChecking=no configuration.

This repo is a thin wrapper package around golang.org/x/crypto/ssh/knownhosts, adding the following functionality:

 * Look up known_hosts public keys for any given host
 * Auto-populate ssh.ClientConfig.HostKeyAlgorithms easily based on
   known_hosts, providing a solution for golang/go#29286
 * Write new known_hosts entries to an io.Writer
 * Properly format/normalize new known_hosts entries containing ipv6
   addresses, providing a solution for golang/go#53463
 * Determine if an ssh.HostKeyCallback's error corresponds to a host whose key
   has changed (indicating potential MitM attack) vs a host that just isn't
   known yet

Andere Pakete mit Bezug zu golang-github-skeema-knownhosts-dev

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • erweitert

golang-github-skeema-knownhosts-dev herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 15,0 kB65,0 kB [Liste der Dateien]