Add pam_ussh
This commit is contained in:
parent
524bf5de30
commit
70f474cdff
1
sets/ca.pub
Normal file
1
sets/ca.pub
Normal file
|
@ -0,0 +1 @@
|
||||||
|
sk-ecdsa-sha2-nistp256@openssh.com AAAAInNrLWVjZHNhLXNoYTItbmlzdHAyNTZAb3BlbnNzaC5jb20AAAAIbmlzdHAyNTYAAABBBLNmn6dU6QucvxYB1Os6t9FtR7h/kJGIcJdUZLv5iXuLKCwqtKY/GEDCDDmwk0kkmlggEDoLSsTHNDo9ZLjvI0sAAAAbc3NoOmNhQG1hbmVoYXR0YW4uYXJ0ZW0uaXN0 ca@manehattan.artem.ist
|
|
@ -12,7 +12,6 @@
|
||||||
apktool
|
apktool
|
||||||
binutils
|
binutils
|
||||||
nmap
|
nmap
|
||||||
pwndbg
|
|
||||||
python3Packages.binwalk-full
|
python3Packages.binwalk-full
|
||||||
|
|
||||||
fusee-launcher
|
fusee-launcher
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue