Add pam_ussh

This commit is contained in:
Artemis Tosini 2024-03-23 02:29:08 +00:00
parent 524bf5de30
commit 70f474cdff
Signed by: artemist
SSH key fingerprint: SHA256:EsuWCwx6fjxxExxf65rX+ocQJJAdw4R1KarpFue6Uwc
3 changed files with 10 additions and 2 deletions

1
sets/ca.pub Normal file
View file

@ -0,0 +1 @@
sk-ecdsa-sha2-nistp256@openssh.com AAAAInNrLWVjZHNhLXNoYTItbmlzdHAyNTZAb3BlbnNzaC5jb20AAAAIbmlzdHAyNTYAAABBBLNmn6dU6QucvxYB1Os6t9FtR7h/kJGIcJdUZLv5iXuLKCwqtKY/GEDCDDmwk0kkmlggEDoLSsTHNDo9ZLjvI0sAAAAbc3NoOmNhQG1hbmVoYXR0YW4uYXJ0ZW0uaXN0 ca@manehattan.artem.ist

View file

@ -12,7 +12,6 @@
apktool apktool
binutils binutils
nmap nmap
pwndbg
python3Packages.binwalk-full python3Packages.binwalk-full
fusee-launcher fusee-launcher

View file

@ -19,8 +19,16 @@
"umac-128-etm@openssh.com" "umac-128-etm@openssh.com"
]; ];
}; };
extraConfig = ''
TrustedUserCAKeys ${./ca.pub}
'';
};
security.pam.ussh = {
enable = true;
caFile = ./ca.pub;
}; };
# users.users.artemis.openssh.authorizedKeys.keys set in private
programs.mosh.enable = true; programs.mosh.enable = true;
} }