ssh agent stuff, add nixarr host
This commit is contained in:
@@ -141,6 +141,11 @@
|
||||
programs.ssh = {
|
||||
enableAskPassword = false;
|
||||
forwardX11 = true;
|
||||
extraConfig = ''
|
||||
Host nixarr
|
||||
Hostname 192.168.1.165
|
||||
ForwardAgent yes
|
||||
'';
|
||||
};
|
||||
|
||||
sops = {
|
||||
@@ -220,6 +225,7 @@
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
AllowAgentForwarding = true;
|
||||
PermitRootLogin = "no";
|
||||
PasswordAuthentication = false;
|
||||
KbdInteractiveAuthentication = false;
|
||||
|
||||
Reference in New Issue
Block a user