1
0
Fork 0

Improve ssh jump command

This commit is contained in:
Malte Brandy 2020-10-12 01:25:01 +02:00
parent 351a12a8aa
commit 1e01112841
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9

View file

@ -81,7 +81,6 @@
controlPersist = "120";
enable = true;
matchBlocks = let
matheGwProxy = "ssh -q gw nc -q0 %h %p";
agHost = "fb04217.mathematik.tu-darmstadt.de";
in {
athene.hostname = "192.168.178.22";
@ -100,7 +99,7 @@
};
ag-forward = {
hostname = agHost;
proxyCommand = matheGwProxy;
proxyJump = "gw";
user = "brandy";
};
ag = {