Skip to main content

host_pubkeys

Function host_pubkeys 

Source
pub fn host_pubkeys() -> Vec<String>
Expand description

Read the acceptor’s real public host keys. Prod reads /etc/ssh/ssh_host_*.pub; the gate points FILAMENT_SSH_HOSTKEY at a throwaway sshd’s hostkey pubfile so it never needs to touch the system’s. Returns the raw pubkey lines (e.g. “ssh-ed25519 AAAA…”).