Free video course · Beginner
Networking and Remote Servers from Zero
A free beginner video course on networking and remote servers. Each short video teaches four or five commands with a real-life analogy, a terminal demo and written notes: IP addresses and DNS, ports, firewalls, SSH, SSH keys, and moving files to a server.
What you will learn
- Read your own IP address and tell private from public addresses
- Look up names with DNS tools and follow the route to a server
- See which ports are listening and test whether you can reach them
- Set up a simple firewall with ufw without locking yourself out
- Log in to a remote server with SSH, and use keys instead of passwords
- Copy files to a server and keep jobs running after you log out
Lessons
Lesson 1
How the internet finds things: ip addr, ping, nslookup, dig and traceroute
Learn how IP addresses and DNS work, and use five commands to read your own address, test a connection, look up names and follow the route to a server.
ip addrping -c 3 example.comnslookup example.comdig +short example.comtraceroute example.comLesson 2
Ports and connections: ss, lsof, nc and curl
Understand ports with an apartment-building analogy, then see what is listening on your machine, find which program owns a port, and test whether a server answers.
sudo ss -tulpnlsof -i :3000nc -zv 203.0.113.10 22curl localhost:3000curl -I https://example.comLesson 3
Firewalls with ufw: status, allow, enable, deny and delete
Decide which ports are open to the world. Learn five ufw commands, in the right order, with a security-guard analogy and a warning about locking yourself out.
sudo ufw statussudo ufw allow 22/tcpsudo ufw enablesudo ufw deny 5432/tcpsudo ufw delete allow 443/tcpLesson 4
Connect to a server with SSH: ssh, whoami, -p, exit and -v
Log in to a remote machine from your own terminal. Learn how SSH works, what the fingerprint warning means, how to use another port, and how to debug a failed login.
ssh ava@203.0.113.10whoamissh -p 2222 ava@203.0.113.10exitssh -v ava@203.0.113.10Lesson 5
SSH keys and config: ssh-keygen, ssh-copy-id, ssh-add and the config file
Log in without typing a password. Create an SSH key pair, install the public key on a server, save short names in your config file, and turn off password logins.
ssh-keygen -t ed25519 -C "ava@example.com"ssh-copy-id ava@203.0.113.10ssh-add ~/.ssh/id_ed25519Host webPasswordAuthentication noLesson 6
Move files and keep jobs running: scp, rsync, sftp, tmux and nohup
Copy files to and from a server, sync folders so only the changes travel, browse with sftp, and keep your work running after you disconnect with tmux and nohup.
scp report.pdf ava@203.0.113.10:~/uploads/rsync -avz ./site/ ava@203.0.113.10:~/www/sftp ava@203.0.113.10tmux new -s buildnohup ./backup.sh > backup.log 2>&1 &
Questions about this course
Who is this networking course for?
Beginners who can open a terminal. You do not need any networking background. Every video explains the idea with a real-life analogy before it shows the commands.
What do I need to follow along?
A terminal on your own computer. For the SSH and firewall episodes it helps to have a Linux server or virtual machine to practise on, such as a small cloud server. Do not practise firewall rules on a server you cannot reach any other way.
Does this work on Windows?
Mostly. ping, nslookup, curl, ssh, scp and sftp run in PowerShell, and Windows uses ipconfig and tracert instead of ip addr and traceroute. Once you log in to a Linux server over SSH, the server commands are the same for everyone.
Do the examples use real servers?
No. The addresses in the videos are reserved for documentation, and example.com is a reserved example name. Replace them with your own server address when you practise, and expect your output to differ in the details.
Is the course free?
Yes. The videos are on the ChangeCV YouTube channel and the written notes for each lesson are on this site, both free.
Why learn networking and SSH for a job search?
Working on remote servers is part of many software, data and operations roles. Once you have the skills, add them to your Master Profile in ChangeCV so they can go on the CVs you tailor for each role.