Skip to content

CarlosSemeao/linux-system-management-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Linux System Management 3

SSH service validation - PXE basics - DNS


Objectives

Verify and harden SSH server configuration Understand PXE boot role and discovery process Investigate DNS resolution settings and tools Use host, dig, and nslookup to resolve names and test DNS behavior


Tree

linux-system-management-3/
├── README.md
├── outputs/
│   ├── 01-sshd-status.txt
│   ├── 01b-sshd-port-check.txt
│   ├── 02-sshd-config.txt
│   ├── 03-pxe-theory.txt
│   ├── 04-resolv-nsswitch.txt
│   └── 05-dns-tools-output.txt
└── screenshots/
    ├── 01-sshd-status.png
    ├── 02-sshd-config.png
    ├── 03-pxe-theory.png
    ├── 04-resolv-nsswitch.png
    └── 05-dns-tools-output.png

Execution

1. SSH Service Status & Port Validation

sudo systemctl status sshd
sudo ss -tuln | grep :22
sudo lsof -i :22

01-sshd-status


2. SSHD Config Check (Hardened)

sudo grep -Ei 'permitrootlogin|passwordauthentication|port' /etc/ssh/sshd_config

02-sshd-config


3. PXE Theory Notes (Manual)

What is PXE How DHCP and TFTP are used The boot process sequence

03-pxe-theory


4. DNS Resolution Files

cat /etc/resolv.conf
cat /etc/nsswitch.conf | grep hosts

04-resolv-nsswitch


5. Name Resolution Tools

host google.com
dig google.com +short
nslookup google.com

05-dns-tools-output


Summary

linux-system-management-1
linux-system-management-2
linux-system-management-3

About

SSH, PXE, DNS and name services | Project 3 of 3 in Linux System Management series

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors