SSH-KEYSIGN(8)
๐ SSH-KEYSIGN(8) ๐
okay bestie, welcome to the System Manager's Manual page for ssh-keysign, and honestly? she's a little diva who does NOT want to be perceived. let's get into it ๐
โจ NAME โจ
ssh-keysign โ the OpenSSH helper for host-based authentication ๐ซถ
โจ SYNOPSIS โจ
ssh-keysign
that's it. that's the whole synopsis. no flags, no arguments, nothing. she just exists ๐
โจ DESCRIPTION โจ
so here's the tea: ssh-keysign is the lil helper that ssh(1) calls up when it needs to get at the local host keys and generate the digital signature required during host-based authentication. think of her as the backstage crew โ you never see her, but the show literally cannot go on without her. ๐
and here's the important part, no cap: ssh-keysign is disabled by default. the only way to turn her on is in the global client config file /etc/ssh/ssh_config, by setting EnableSSHKeysign to โyesโ. that's it. that's the switch. ๐ฅ
also, she is not meant to be invoked by you, the user. like, at all. she gets called by ssh(1), from the inside, and that's the vibe. if you wanna know more about host-based authentication, go read ssh(1) and sshd(8) โ they've got the full lore. ๐
not me gatekeeping a binary from you but fr fr, don't run this by hand.
โจ FILES โจ
/etc/ssh/ssh_config
controls whether ssh-keysign is enabled. that's the on/off switch, bestie. ๐๏ธ
/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 hold the private parts of the host keys that get used to generate the digital signature. and listen: they should be owned by root, readable only by root, and not accessible to others. periodt. ๐
and because they're readable only by root, ssh-keysign must be set-uid root if host-based authentication is used. like, that's the whole reason she's got the extra privileges, iykyk.
/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're assumed to contain public certificate information that corresponds with the private keys listed above. matching set, cute. ๐
โจ SEE ALSO โจ
โจ HISTORY โจ
ssh-keysign first appeared in OpenBSD 3.2. an icon, a legend, and she is the moment. โญ
โจ AUTHORS โจ
Markus Friedl <markus@openbsd.org> โ thank you for your service king ๐ซก๐
okay that's the whole page! this one came from Debian and it's dated July 10, 2026. go forth, use host-based auth responsibly, and don't touch other people's host keys bestie ๐๐ฆโจ
๐ฆ where this page comes from
- arch rolling: openssh 10.6p1-1
- arch rolling: openssh 10.6p1-2 ยท 0BSD AND BSD-2-Clause AND BSD-3-Clause AND ISC AND LicenseRef-Public-Domain AND MIT
- nixos 26.05: openssh 10.6p1
- nixos 26.05: openssh-test 10.6p1
- nixos 26.05: openssh-with-hpn 10.5p1
- nixpkgs unstable: openssh 10.6p1
- nixpkgs unstable: openssh-test 10.6p1
- nixpkgs unstable: openssh-with-hpn 10.5p1
- ubuntu stonking: openssh-client 1:10.5p1-1ubuntu2
- ubuntu stonking: openssh-client 1:10.5p1-1ubuntu3.1
- ubuntu stonking: openssh-client-gssapi 1:10.5p1-1ubuntu3 ยท OpenSSH
- ubuntu stonking: openssh-client-gssapi 1:10.5p1-1ubuntu3.1 ยท OpenSSH
- Copyright (c) 2002 Markus Friedl. All rights reserved
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms