generated from mhausenblas/mkdocs-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c1807a1
commit 97ba4d7
Showing
2 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,7 +100,7 @@ Host sshgw.aau.dk | |
# use the same user name (and optional SSH key) for all bioservers | ||
# uncomment the ProxyJump line for external access without VPN | ||
Host *.srv.aau.dk | ||
Host *.srv.aau.dk bio-os* | ||
User [email protected] | ||
Port 22 | ||
IdentityFile ~/.ssh/keys/bioservers | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,9 +47,15 @@ On your local computer, you need to set up a bridge connection through a login n | |
|
||
Then add the following line somewhere: | ||
|
||
**Windows** | ||
``` | ||
Host bio-ospikachu02-sshdbridge | ||
ProxyCommand ssh bio-ospikachu02.srv.aau.dk bash -c \"nc \$(squeue --me --name=sshdbridge --states=R -h -O NodeList,Comment)\"NodeList,Comment)" | ||
``` | ||
|
||
**Linux/MacOS** | ||
``` | ||
Host bio-ospikachu02-sshdbridge | ||
User [email protected] | ||
ProxyCommand ssh bio-ospikachu02.srv.aau.dk "nc \$(squeue --me --name=sshdbridge --states=R -h -O NodeList,Comment)" | ||
``` | ||
|
||
|
@@ -65,4 +71,4 @@ Now you can start working! Whatever you do in VS Code now will run remotely insi | |
|
||
## Notes | ||
- You will not be able to connect if you use an [SSH jump host](../../access/#using-an-ssh-jump-host). [Connect through VPN](../../access/#vpn) instead if you are not at AAU. | ||
- You can connect to the same job simultaneously as many times as you want, however if you have separate resource requiements, you must submit individual jobs and use a different name for each job, and also create separate entries in the SSH config for each job. | ||
- You can connect to the same job simultaneously as many times as you want, however if you have separate resource requirements, you must submit individual jobs and use a different name for each job, and also create separate entries in the SSH config for each job. |