Skip to content

Commit

Permalink
Merge pull request #493 from ivirshup/patch-1
Browse files Browse the repository at this point in the history
Update ssh config instructions for berlin
  • Loading branch information
dweinholz authored Mar 21, 2024
2 parents 06402ca + ac81bb9 commit af1dce7
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions wiki/Compute_Center/Berlin.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,17 @@ standard users for some common distributions:
To connect via Windows 10 you can use PowerShell as OpenSSH ist already installed by default. Create the ssh config file ```$HOME\.ssh\config``` with notepad or use the PowerShell command ```Set-Content -Path $HOME\.ssh\config -Value '<add file content here>'```
When you use PowerShell, make sure to edit the input of the file. Fill in your information and make sure that the sections HostName, IdentityFile, User, and ProxyJump are indented with four spaces for both entries.
```bash
# Replace all fields in {curly braces}
Host denbi-jumphost-01.bihealth.org
HostName denbi-jumphost-01.bihealth.org
User LifeScienceLogin
IdentityFile PATH_TO_KEY
User {LifeScienceLogin}
IdentityFile {PATH_TO_KEY}


Host NAME_OF_VM # first vm
HostName 172.16.XXX.XXX
IdentityFile PATH_TO_KEY
User ubuntu / centos
Host {NAME_OF_VM} # first vm
HostName {172.16.XXX.XXX}
IdentityFile {PATH_TO_KEY}
User {ubuntu / centos}
ProxyJump denbi-jumphost-01.bihealth.org
```

Expand All @@ -108,18 +109,18 @@ ssh NAME_OF_VM
#### Linux .ssh/config

```bash
# Replace all fields in {curly braces}
Host denbi-jumphost-01.bihealth.org
HostName denbi-jumphost-01.bihealth.org
User LifeScienceLogin
IdentityFile PATH_TO_KEY
User {LifeScienceLogin}
IdentityFile {PATH_TO_KEY}
ServerAliveInterval 120

Host NAME_OF_VM
HostName 172.16.XXX.XXX
IdentityFile PATH_TO_KEY
User ubuntu / centos
Host {NAME_OF_VM}
HostName {172.16.XXX.XXX}
IdentityFile {PATH_TO_KEY}
User {ubuntu / centos}
ProxyJump denbi-jumphost-01.bihealth.org

```

#### Setting up a SOCKS proxy
Expand Down Expand Up @@ -342,4 +343,4 @@ source openrc.sh
10. Use openstack-cli to get information about your project
```bash
openstack server list
```
```

0 comments on commit af1dce7

Please sign in to comment.