Skip to content

Commit

Permalink
Update ssh config instructions for berlin
Browse files Browse the repository at this point in the history
I'm helping a colleague set up their ssh config and they got confused about which fields were supposed to be replaced in the ssh config. I remembered being confused about this when I set it up, so I figured the instructions could be more explicit.
  • Loading branch information
ivirshup authored Mar 20, 2024
1 parent 7c2afda commit ac81bb9
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 ac81bb9

Please sign in to comment.