Networking and SSH for DevOps Engineers
Networking and SSH on Linux is how you inspect connections and reach remote machines securely. Commands such as ip, ss, ping, curl and dig reveal addresses, routes, ports and DNS, while SSH provides encrypted remote login, key-based authentication, file copy with scp and rsync, and tunnelling through port forwarding.
Stage: Linux · Part of the DevOps Engineer roadmap · Last reviewed 19 November 2026
What to learn in Networking and SSH
- Show addresses and routes with ip addr and ip route
- List listening ports and connections with ss
- Generate an SSH key pair and install the public key on a server
- Configure host aliases in ~/.ssh/config
- Copy files securely with scp and rsync
- Forward a port through an SSH tunnel
Networking and SSH interview questions
Why use SSH keys instead of passwords?
A key pair uses a private key that never leaves your machine and a public key stored on the server, so there is no password to guess or intercept. Keys resist brute force, can be protected with a passphrase and make passwordless automation possible.
How do you find which process is using a port?
Run ss -tlnp, or lsof -i :PORT, which shows listening sockets with the owning process and PID. You usually need root to see processes owned by other users. Then decide whether to stop that process or change the port.
Where Networking and SSH fits in the DevOps Engineer roadmap
Networking and SSH belongs to the Linux stage (beginner level). Operating system fundamentals: the Linux course.
Other units in this stage
- Start Here (free)
- Navigating the Filesystem
- Working with Files
- Text Editors
- Users, Groups and Permissions
- Text Processing and Pipes
- Processes and Jobs
- Package Management
- The Shell Environment
- Bash Scripting
- Archives, Storage and Filesystems
- Services, Boot and Logs
- Security Basics
- Real Server Admin
- Linux for DevOps
- Capstones and Placement Prep
Back to the full DevOps Engineer roadmap