Repository navigation
nebctl v0.5.1
Saved key for SSH logins
After the admin console connects to a machine (such as the lighthouse) with a password, it offers to add its own key there. Accept, and the next connection works with Saved key or ssh-agent, without the SSH password. sudo may still ask for its own password.
- Only the public half is copied, into that user's
~/.ssh/authorized_keys, once. - The private half stays in
/etc/nebula/admin/console_ed25519on this machine, readable by root only. Your own SSH keys aren't touched. - To revoke it, delete the line ending in
nebctl-console@<this machine>from that file. - The console tries that key first on every connection. Without an ssh-agent, it now goes on to the other keys instead of stopping.