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