meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| general:computerenvironment:ssh [2022/01/17 08:58] – ruben | general:computerenvironment:ssh [2024/06/18 09:26] (current) – ingo | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Remote login via SSH ====== | ====== Remote login via SSH ====== | ||
| - | [[wp> | + | [[wp> |
| - | + | * ssh from within our network | |
| - | ===== Things you need to have ===== | + | * ssh from outside of our network |
| - | ==== ssh connections within the network ==== | + | ===== ssh connections within the network |
| <wrap question></ | <wrap question></ | ||
| * has more computer power | * has more computer power | ||
| Line 23: | Line 23: | ||
| You will then be prompted to provide the password for the user //ingo//. <wrap important> | You will then be prompted to provide the password for the user //ingo//. <wrap important> | ||
| </ | </ | ||
| - | ==== ssh connection from outside of the network ==== | + | ===== ssh connection from outside of the network ===== |
| + | For security reason, you can access our computers via ssh from outside of our network only when you have a VPN((virtual private network)) connection established. This requires a ovpn certificate provided by us. Please follow the steps below to set up the VPN. | ||
| <WRAP info> | <WRAP info> | ||
| - | - an email with a zip archive containing the openssh | + | we have provided you with a OVPN certificate, |
| - | - your user name in our system. The file name of the zip archive (without the ending | + | - Download |
| - | | + | - gunzip |
| - | | + | < |
| - | | + | gunzip *.ovpn.gz |
| - | </WRAP>Do you get the idea? <wrap tip></wrap> | + | </ |
| - | If you are unsure that you got the right username, ask the tutors. Using the wrong name will give you quite some headaches further down... | + | - Install an open VPN client on your local machine |
| - | </ | + | - Windows users: install [[https:// |
| - | - the unpacked zip archive containing the following files | + | - Mac users |
| - | - openssh (the certificate) | + | - install [[https://tunnelblick.net|Tunnelblick]] |
| - | - openssh.pub (the public key((you don't have to bother with this file)) | + | - on an iPad, you can install |
| - | - password.txt (a text file with your password for the ssh connection((this is not your password for the login within our system)) | + | |
| + | - activate the VPN connection | ||
| + | - for this, you will need the username and the password provided by us((If you are unsure that you got the right username, ask the tutors. Using the wrong name will give you quite some headaches further down.)) | ||
| - an [[general: | - an [[general: | ||
| - The [[wp> | - The [[wp> | ||
| Line 50: | Line 53: | ||
| Type the following example command in the terminal window, where openssh22 is your certificate, | Type the following example command in the terminal window, where openssh22 is your certificate, | ||
| < | < | ||
| + | # To connect to the server | ||
| ssh -i pbioc_course/ | ssh -i pbioc_course/ | ||
| + | |||
| + | # Select a working station | ||
| + | ssh pool01 | ||
| + | |||
| + | # Copy files from your personal computer to our computer system. | ||
| + | # Syntax: scp <ssh key> <target file> <where to paste it> | ||
| + | scp -i pbioc_course/ | ||
| + | scp -i pbioc_course/ | ||
| </ | </ | ||
| If you encounter the message " | If you encounter the message " | ||