Use SSH certificate on starlight
This commit is contained in:
parent
54c42ebdd7
commit
700482ac31
2
private
2
private
|
@ -1 +1 @@
|
|||
Subproject commit 3512e177ea84eccde10e92f2f59f9ca53fd12be3
|
||||
Subproject commit 8e7d1a212ec93008a038ba9cfa178f21584c8441
|
|
@ -3,6 +3,7 @@
|
|||
{
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
permitRootLogin = "no";
|
||||
passwordAuthentication = false;
|
||||
challengeResponseAuthentication = false;
|
||||
};
|
||||
|
|
|
@ -42,6 +42,9 @@
|
|||
};
|
||||
networking.dhcpcd.allowInterfaces = [ "br0" ];
|
||||
|
||||
services.openssh.extraConfig = ''
|
||||
HostCertificate ${./starlight-cert.pub}
|
||||
'';
|
||||
|
||||
# Filesystems
|
||||
services.btrfs.autoScrub = {
|
||||
|
|
1
system/starlight/starlight-cert.pub
Normal file
1
system/starlight/starlight-cert.pub
Normal file
|
@ -0,0 +1 @@
|
|||
ssh-ed25519-cert-v01@openssh.com AAAAIHNzaC1lZDI1NTE5LWNlcnQtdjAxQG9wZW5zc2guY29tAAAAIGUyWiAERR47rTR2lohChiKdU0kf4TtRvJ/KQtIGIqZDAAAAIH6tiVWFxibZuhoaZbqwlqjBm9x6k5hsY05/RXUgjNrxAAAAAAAAAAAAAAACAAAACXN0YXJsaWdodAAAACIAAAAec3RhcmxpZ2h0Lm1hbmVoYXR0YW4uYXJ0ZW0uaXN0AAAAAAAAAAD//////////wAAAAAAAAAAAAAAAAAAAJYAAAAic2stZWNkc2Etc2hhMi1uaXN0cDI1NkBvcGVuc3NoLmNvbQAAAAhuaXN0cDI1NgAAAEEEs2afp1TpC5y/FgHU6zq30W1HuH+QkYhwl1Rku/mJe4soLCq0pj8YQMIMObCTSSSaWCAQOgtKxMc0Oj1kuO8jSwAAABtzc2g6Y2FAbWFuZWhhdHRhbi5hcnRlbS5pc3QAAAB4AAAAInNrLWVjZHNhLXNoYTItbmlzdHAyNTZAb3BlbnNzaC5jb20AAABJAAAAIQDoX9ScwnW7ZRlhE3MzamTHa7Z4XGFwKckZUkxFrWV+uAAAACAWZU7Mo4n5PtIj5OvXwVawot7aerV8KVNmGyT9tCFOlgEAAAAU root@starlight
|
Loading…
Reference in a new issue