This commit is contained in:
2023-02-22 14:55:28 -05:00
parent 503ac490e4
commit 577d588412
2 changed files with 37 additions and 0 deletions

View File

@@ -1,10 +1,19 @@
# 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