diff options
Diffstat (limited to 'accounts/gkleen@sif')
-rw-r--r-- | accounts/gkleen@sif/ssh-hosts.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/accounts/gkleen@sif/ssh-hosts.nix b/accounts/gkleen@sif/ssh-hosts.nix index 339d085a..ed8e9a1a 100644 --- a/accounts/gkleen@sif/ssh-hosts.nix +++ b/accounts/gkleen@sif/ssh-hosts.nix | |||
@@ -248,6 +248,22 @@ | |||
248 | { hostname = "vidhar.yggdrasil"; | 248 | { hostname = "vidhar.yggdrasil"; |
249 | identityFile = "~/.ssh/gkleen@sif.midgard.yggdrasil"; | 249 | identityFile = "~/.ssh/gkleen@sif.midgard.yggdrasil"; |
250 | }; | 250 | }; |
251 | "forward.vidhar" = | ||
252 | { hostname = "vidhar.yggdrasil"; | ||
253 | forwardAgent = true; | ||
254 | remoteForwards = [ | ||
255 | { host = { address = "/run/user/1000/gnupg/S.gpg-agent"; }; | ||
256 | bind = { address = "/run/user/1000/gnupg/S.gpg-agent"; }; | ||
257 | } | ||
258 | { host = { address = "/run/user/1000/gnupg/S.gpg-agent.extra"; }; | ||
259 | bind = { address = "/run/user/1000/gnupg/S.gpg-agent.extra"; }; | ||
260 | } | ||
261 | ]; | ||
262 | extraOptions = { | ||
263 | StreamLocalBindUnlink = "yes"; | ||
264 | ExitOnForwardFailure = "yes"; | ||
265 | }; | ||
266 | }; | ||
251 | "init.vidhar" = | 267 | "init.vidhar" = |
252 | { hostname = "10.141.0.1"; | 268 | { hostname = "10.141.0.1"; |
253 | user = "root"; | 269 | user = "root"; |