all repos — dotfiles @ 3962a87fb513e27841b9e995feaeee4fd2e7609a

my *nix dotfiles

nix/sini: setup authorized keys for initrd ssh
Anirudh Oppiliappan x@icyphox.sh
Fri, 05 Jul 2024 15:45:49 +0300
commit

3962a87fb513e27841b9e995feaeee4fd2e7609a

parent

5674e47702a2c2b46d9df9ed4e363a61522b4cd3

1 files changed, 5 insertions(+), 2 deletions(-)

jump to
M hosts/sini/configuration.nixhosts/sini/configuration.nix

@@ -44,8 +44,11 @@ enable = true;

ssh = { enable = true; port = 22; - authorizedKeys = [ "ssh-rsa AAAAyourpublic-key-here..." ]; - hostKeys = [ "/etc/secrets/initrd/ssh_host_rsa_key" ]; + authorizedKeys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICJPYX06+qKr9IHWfkgCtHbExoBOOwS/+iAWbog9bAdk icy@wyndle" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIlcByNC93n6dH41uxdLvbtf8XfKF0hoN35548PRga3M icy@kvothe" + ]; + hostKeys = [ "/etc/secrets/initrd/ssh_host_ed25519_key" ]; }; }; };