ssh-keysign(8)

ssh-keysign8

Openssh helper for host-based authentication

Usage

ssh-keysign

Overview

ssh-keysign is used by ssh(1) to access the local host keys and generate the digital signature required during host-based authentication.

ssh-keysign is disabled by default and can only be enabled in the global client configuration file /etc/ssh/ssh_config by setting EnableSSHKeysign to “yes”.

ssh-keysign is not intended to be invoked by the user, but from ssh(1). See ssh(1) and sshd(8) for more information about host-based authentication.

Files

/etc/ssh/ssh_config

Controls whether ssh-keysign is enabled.

/etc/ssh/ssh_host_ecdsa_key
/etc/ssh/ssh_host_ed25519_key
/etc/ssh/ssh_host_mldsa44_ed25519_key
/etc/ssh/ssh_host_rsa_key

These files contain the private parts of the host keys used to generate the digital signature. They should be owned by root, readable only by root, and not accessible to others. Since they are readable only by root, ssh-keysign must be set-uid root if host-based authentication is used.

/etc/ssh/ssh_host_ecdsa_key-cert.pub
/etc/ssh/ssh_host_ed25519_key-cert.pub
/etc/ssh/ssh_host_mldsa44_ed25519_key-cert.pub
/etc/ssh/ssh_host_rsa_key-cert.pub

If these files exist, they are assumed to contain public certificate information corresponding with the private keys above.

Releases

13 releases since Debian 3.0 (Woody); the text changed 9 times.

  1. 3.0
  2. 3.1–4.0
  3. 5.0–6.0
  4. 7
  5. 8
  6. 9–10
  7. 11
  8. 12
  9. 13
  10. Arch

History

ssh-keysign first appeared in OpenBSD 3.2.

Authors

Markus Friedl ⟨[email protected]⟩

From openssh 10.6p1-2 in Arch Linux 2026-11-01. Parsed by carta from the page's mdoc source.