Improve ssh jump command
This commit is contained in:
parent
351a12a8aa
commit
1e01112841
1 changed files with 1 additions and 2 deletions
|
@ -81,7 +81,6 @@
|
||||||
controlPersist = "120";
|
controlPersist = "120";
|
||||||
enable = true;
|
enable = true;
|
||||||
matchBlocks = let
|
matchBlocks = let
|
||||||
matheGwProxy = "ssh -q gw nc -q0 %h %p";
|
|
||||||
agHost = "fb04217.mathematik.tu-darmstadt.de";
|
agHost = "fb04217.mathematik.tu-darmstadt.de";
|
||||||
in {
|
in {
|
||||||
athene.hostname = "192.168.178.22";
|
athene.hostname = "192.168.178.22";
|
||||||
|
@ -100,7 +99,7 @@
|
||||||
};
|
};
|
||||||
ag-forward = {
|
ag-forward = {
|
||||||
hostname = agHost;
|
hostname = agHost;
|
||||||
proxyCommand = matheGwProxy;
|
proxyJump = "gw";
|
||||||
user = "brandy";
|
user = "brandy";
|
||||||
};
|
};
|
||||||
ag = {
|
ag = {
|
||||||
|
|
Loading…
Reference in a new issue