ssh
This commit is contained in:
parent
3b9dfe8ce5
commit
7406d068b4
1 changed files with 5 additions and 2 deletions
|
|
@ -5,6 +5,7 @@
|
|||
sops.secrets."ssh/nixremote/private" = {
|
||||
sopsFile = ../../secrets/default.yaml;
|
||||
path = "/root/.ssh/nixremote";
|
||||
mode = "444";
|
||||
};
|
||||
|
||||
services.openssh = {
|
||||
|
|
@ -19,13 +20,15 @@
|
|||
programs.ssh = {
|
||||
extraConfig = ''
|
||||
Host lilith-server-builder
|
||||
HostName 2a01:4f9:4a:1ecb::2
|
||||
HostName firelilith.org
|
||||
User nixremote
|
||||
IdentityFile /root/.ssh/nixremote
|
||||
ConnectTimeout 5
|
||||
Host lilith-pc-builder
|
||||
HostName 2a02:8109:8323:4600:1394:b8b6:32d0:f720
|
||||
HostName lilith-pc
|
||||
User nixremote
|
||||
IdentityFile /root/.ssh/nixremote
|
||||
ConnectTimeout 5
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue