ssh: remove redundant ksshaskpass config, rotate ips
the local ips will become outdated again in 2 minutes
This commit is contained in:
parent
ceab421dfb
commit
0d2138970e
1 changed files with 5 additions and 12 deletions
|
|
@ -5,22 +5,15 @@
|
||||||
startAgent = true;
|
startAgent = true;
|
||||||
enableAskPassword = true;
|
enableAskPassword = true;
|
||||||
extraConfig = "
|
extraConfig = "
|
||||||
IdentityFile /home/wo2w/.ssh/ssh-key
|
IdentityFile /home/wo2w/.ssh/yubikey
|
||||||
User wo2w
|
User wo2w
|
||||||
|
Port 8743
|
||||||
Host gameserver
|
Host gameserver
|
||||||
Hostname 192.168.2.221
|
Hostname 192.168.2.112
|
||||||
Port 22
|
|
||||||
Host Swordsmachine
|
Host Swordsmachine
|
||||||
Hostname 192.168.2.84
|
Hostname 192.168.2.74
|
||||||
Port 8743
|
|
||||||
Host Earthmover
|
Host Earthmover
|
||||||
Hostname 192.168.2.87
|
Hostname 192.168.2.175
|
||||||
Port 8743
|
|
||||||
";
|
";
|
||||||
};
|
};
|
||||||
|
|
||||||
environment = {
|
|
||||||
systemPackages = if config.services.desktopManager.plasma6.enable then with pkgs; [ kdePackages.ksshaskpass ] else [];
|
|
||||||
variables.SSH_ASKPASS_REQUIRE = "prefer";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue