From ffaad781cbda3630f26b91b41fb0a8c3368a5353 Mon Sep 17 00:00:00 2001 From: Niko Sirmpilatze Date: Thu, 12 Oct 2023 15:09:05 +0100 Subject: [PATCH] Replaced ProxyCommand with ProxyJump is ssh config (#42) --- docs/source/programming/SSH-SWC-cluster.md | 4 ++-- docs/source/programming/SSH-vscode.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/programming/SSH-SWC-cluster.md b/docs/source/programming/SSH-SWC-cluster.md index 04746ab..549445c 100644 --- a/docs/source/programming/SSH-SWC-cluster.md +++ b/docs/source/programming/SSH-SWC-cluster.md @@ -131,7 +131,7 @@ Host swc-bastion Host swc-gateway HostName hpc-gw1 User - ProxyCommand ssh -W %h:%p swc-bastion + ProxyJump swc-bastion ``` Save the file by pressing `Ctrl+O`, then `Enter`. @@ -223,7 +223,7 @@ Host swc-bastion Host swc-gateway HostName hpc-gw1 User - ProxyCommand ssh -W %h:%p swc-bastion + ProxyJump swc-bastion IdentityFile ~/.ssh/ ``` ::: diff --git a/docs/source/programming/SSH-vscode.md b/docs/source/programming/SSH-vscode.md index 599844c..ee46481 100644 --- a/docs/source/programming/SSH-vscode.md +++ b/docs/source/programming/SSH-vscode.md @@ -13,7 +13,7 @@ Host jump-host Host remote-host User remoteMachineUsername HostName 172.24.243.000 - ProxyCommand ssh -W %h:%p jump-host + ProxyJump jump-host ``` Make sure to replace `172.24.243.000` with the IP address of your remote machine.