Skip to content

Commit

Permalink
Replaced ProxyCommand with ProxyJump is ssh config
Browse files Browse the repository at this point in the history
  • Loading branch information
niksirbi committed Oct 12, 2023
1 parent bfc7557 commit 7bf7f52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/source/programming/SSH-SWC-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Host swc-bastion
Host swc-gateway
HostName hpc-gw1
User <SWC-USERNAME>
ProxyCommand ssh -W %h:%p swc-bastion
ProxyJump swc-bastion
```

Save the file by pressing `Ctrl+O`, then `Enter`.
Expand Down Expand Up @@ -223,7 +223,7 @@ Host swc-bastion
Host swc-gateway
HostName hpc-gw1
User <SWC-USERNAME>
ProxyCommand ssh -W %h:%p swc-bastion
ProxyJump swc-bastion
IdentityFile ~/.ssh/<MY-SPECIAL-KEY>
```
:::
Expand Down
2 changes: 1 addition & 1 deletion docs/source/programming/SSH-vscode.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7bf7f52

Please sign in to comment.