config: Enable authorization through ssh agent #76
2 changed files with 10 additions and 3 deletions
|
@ -100,6 +100,15 @@
|
|||
gatewayPorts = "yes";
|
||||
};
|
||||
|
||||
security = {
|
||||
sudo.execWheelOnly = true;
|
||||
|
||||
pam = {
|
||||
enableSSHAgentAuth = true;
|
||||
services.sudo.sshAgentAuth = true;
|
||||
};
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
recommendedTlsSettings = true;
|
||||
|
|
|
@ -53,10 +53,8 @@
|
|||
};
|
||||
|
||||
sshUser = "tlater";
|
||||
sshOpts = ["-t" "-p" "2222"];
|
||||
sshOpts = ["-p" "2222" "-o" "ForwardAgent=yes"];
|
||||
fastConnection = true;
|
||||
# Currently broken, see https://github.com/serokell/deploy-rs/issues/78
|
||||
magicRollback = false;
|
||||
};
|
||||
|
||||
#########
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue