0 of 16 lessons done
Course classroom
CompTIA Linux+ XK0-006

Day 11 of 15

Day 11 · Networking and SSH

Configure the server's network, find out why a host doesn't answer, and log in to other servers with SSH keys.

⏱ 2 hours 🧪 20 terminal tasks ✅ 14 review questions 🔒 Part of the full course

By the end of this day you will be able to

  • View and change addresses, routes and interfaces with ip and nmcli.
  • Explain how networking is configured with NetworkManager and with Netplan.
  • Resolve names with /etc/hosts, /etc/resolv.conf, dig, nslookup and host.
  • Troubleshoot a connection layer by layer with ping, traceroute, ss and curl.
  • Set up key-based SSH authentication with ssh-copy-id, authorized_keys and the right permissions.
  • Copy files between servers with scp and rsync, and recognize the most common ports.
  • Calculate subnets (network, broadcast and usable hosts), and use SSH tunnels, ssh-agent and chrooted SFTP.

Topics

  • ip addr, ip link, ip route
  • NetworkManager and nmcli
  • Netplan
  • Subnets, DHCP and MTU
  • hostname, /etc/hosts, resolv.conf and nsswitch.conf
  • dig, nslookup and host
  • ping, traceroute, ss, curl and wget
  • SSH keys, tunnels and ssh-agent
  • scp, chrooted sftp and rsync
  • Well-known ports and NTP

This lesson is part of the full course

It includes the full explanation, 20 terminal tasks that check themselves and 14 review questions. If you already bought the course, sign in and pick up where you left off.

Full course: $99 (regular price $149) · one payment · 12 months of access

Already paid? Sign in with the email you used to buy: we send you a 6-digit code, no password.

Want to try it first? Take a free trial of the course. Questions? Message us on WhatsApp.

Loading your lesson…

Go to the course classroom

See all the lessons in the course

The companies, people and data in the course stories are fictional; any resemblance to reality is coincidental.