nix/users/profiles/ssh/default.nix
2022-01-29 13:43:43 -05:00

17 lines
395 B
Nix

{
programs.ssh = {
enable = true;
compression = true;
matchBlocks = {
"students" = {
hostname = "students.gctaa.net";
user = "arabach";
port = 22;
extraOptions = { "PreferredAuthentications" = "publickey"; };
};
};
extraOptionOverrides = {
"Match" = ''host * exec "gpg-connect-agent UPDATESTARTUPTTY /bye"'';
};
};
}