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.