ssh, the secure shell, is a way to establish a connection between two computers. In fact, you use it to login on a remote computer system, e.g. when you connect to our local computer system from home. Typically, you will have to provide a user name and a password to establish the connection. In our case, the authentication is done via a certificate that we provide you with at the beginning of the course1). We differentiate between two scenarios:
You do this if you want to access a computer that
than the one you are sitting one.
You need
For security reason, you can access our computers via ssh from outside of our network only when you have a VPN2) connection established. This requires a ovpn certificate provided by us. Please follow the steps below to set up the VPN.
we have provided you with a OVPN certificate, that allows you to connect your local computer with our private network.
gunzip *.ovpn.gz
If you have all the information specified above at hand, proceed to the next steps
Type the following example command in the terminal window, where openssh22 is your certificate, and pbioc01 is your account. You will be prompted to introduce your password.
# To connect to the server ssh -i pbioc_course/openssh22 pbioc01@141.2.46.150 # 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/openssh22 file.fasta pbioc01@141.2.46.150:/home/pbioc06 scp -i pbioc_course/openssh22 pbioc01@141.2.46.150:/home/pbioc06/file.png ~/Desktop
If you encounter the message “WARNING: UNPROTECTED PRIVATE KEY FILE”. You will need to change the permissions in your ssh certificate.
chmod 400 openssh22