mirror of
https://github.com/sstent/vmimages.git
synced 2026-01-26 15:12:14 +00:00
577d588412048d7f9364632c013a709a977d7f6d
vmimages
based on https://samleathers.com/posts/2022-02-11-my-new-network-and-sops.html
Create new SSH HOST KEYS
sudo ssh-keygen -q -N "" -t rsa -b 4096 -f /etc/ssh/ssh_host_rsa_key sudo ssh-keygen -q -N "" -t ed25519 -f /etc/ssh/ssh_host_ed25519_key
Local sudo cat /etc/ssh/ssh_host_rsa_key|ssh-to-pgp -o nixos/secrets/keys/hostname ssh hostname "cat /etc/ssh/ssh_host_rsa_key"|ssh-to-pgp -o nixos/secrets/keys/hostname
TODO
swtich to ed25519 ssh-to-age? https://github.com/Mic92/ssh-to-age
Description
Languages
Nix
92.2%
Just
4.1%
Shell
3.7%