-
Notifications
You must be signed in to change notification settings - Fork 1
Tutorial 04
To connect to another computer over the internet, you need two things:
- Its address (like a URL or IP)
- A valid user account on that machine
We have access to a server hosted by Tel Aviv University (TAU), which we use for large or long-running calculations. Let's learn how to connect to it.
To connect to computers on the TAU network, you must first connect to the TAU Virtual Private Network (VPN).
📘 TAU VPN setup instructions:
👉 https://computing.tau.ac.il/helpdesk/remote-access/communication/vpn
Once you've installed and connected to the VPN, return to your Linux terminal.
We’ll use the ssh command — short for Secure Shell — to connect securely to the server.
$ ssh your-username@powerslurm-login.tau.ac.ilYou will be prompted to enter your TAU password (the same one used for your TAU email and services).
Normally, you have to enter your password each time you connect. But once the VPN is active, you can set up SSH key-based authentication to log in without typing your password every time.
On your local computer, run:
$ ssh-keygen -t rsa- When prompted for a file to save the key, press
Enterto accept the default. - When prompted for a passphrase, you can leave it empty and press
Entertwice.
This creates a public/private key pair in your ~/.ssh directory.
Run:
$ ssh-copy-id your-username@powerslurm-login.tau.ac.ilThis command will copy your public key to the TAU server and allow passwordless login.
✅ Next time you run:
$ ssh your-username@powerslurm-login.tau.ac.ilyou should connect without entering your password, as long as you're connected to the VPN.
You’ve successfully learned how to connect to the TAU server — both with and without typing your password every time! 🧠💻
➡️ Now you're ready to learn how to send and receive files in Tutorial 5