SYS-255: System Admin & Network Services I
HomeTech JournalsPersonal ProjectsSysadmin Wiki
  • SYS-255: System Admin & Network Services I
  • Week Breakdown
    • Week Breakdown
    • Course Overview
  • Labs
    • Lab 1.0: Firewall and Work Station
    • Lab 2.0: Active Directory DNS
    • Lab 3.0: CentOS Intro
    • Lab 4.0: DHCP Server
    • Lab 5.0: ADDS Group Policy
    • Lab 6.0: Server Core & Remote Administrator Tools
    • Lab 7.0: Apache
  • Assignments
    • Assignment 1.0: File Permissions & User Groups
    • Assignment 2.0: DHCP is Down!
    • Assignment 3.0: Securing SSH
  • Notes
    • Page 2
Powered by GitBook
On this page
  • Summary
  • Commands
  • Notes
  1. Assignments

Assignment 3.0: Securing SSH

Summary

This assignment went extremely well the only problem I had was a lot of the guides had different ways to restart the sshd service so it was tricky to find which one work.

Commands

  1. vi /etc/shh/sshd_config

  2. Go to the line that says #PermitRootLogin yes

  3. Get rid of the # and turn yes to no

    • end result PermitRootLogin no

  4. Write and Quit

  5. service sshd restart

  6. Now root won't be able to ssh

Notes

  1. Root uid is 0

  2. First user uid is 1000

  3. uids 999(polkitd), 998(libstoragemgmt), 997(chrony)

    • polkitd is a system wide privilege controller

    • libstoragemgmt A library for storage management (API)

    • chrony Netowrk Time Protocol (NTP) uses port 323

PreviousAssignment 2.0: DHCP is Down!NextPage 2

Last updated 2 years ago