filmov
tv
How (and Why) to Disable Root Login Over SSH
![preview_player](https://i.ytimg.com/vi/I6isAz0oiWQ/maxresdefault.jpg)
Показать описание
Video Time Codes (Click them to skip to that part of the video).
Learn how to:
0:00 Introduction
0:10 Understand why to disable root login over SSH
1:49 How to create a new administrator account
2:50 Make changes to SSH login policy
3:58 Verify new policy
Comment below solutions you want to see and problems you need fixed. Make sure to like and subscribe for more highly informative quality videos!
This video is NOT sponsored.
## Commands used ##
#--------------------------------------
# ssh
#--------------------------------------
# Create an administrator user
#--------------------------------------
adduser newaccountusername
passwd newaccountusername
RHEL based: usermod -aG wheel newaccountusername
Debian based: usermod -aG sudo newaccountusername
# Edit SSH Policy
#--------------------------------------
nano /etc/ssh/sshd_config
Change the line 'PermitRootLogin yes' to 'PermitRootLogin no'
# Restart SSH Service to use new policy
#--------------------------------------
sudo systemctl restart sshd
Learn how to:
0:00 Introduction
0:10 Understand why to disable root login over SSH
1:49 How to create a new administrator account
2:50 Make changes to SSH login policy
3:58 Verify new policy
Comment below solutions you want to see and problems you need fixed. Make sure to like and subscribe for more highly informative quality videos!
This video is NOT sponsored.
## Commands used ##
#--------------------------------------
# ssh
#--------------------------------------
# Create an administrator user
#--------------------------------------
adduser newaccountusername
passwd newaccountusername
RHEL based: usermod -aG wheel newaccountusername
Debian based: usermod -aG sudo newaccountusername
# Edit SSH Policy
#--------------------------------------
nano /etc/ssh/sshd_config
Change the line 'PermitRootLogin yes' to 'PermitRootLogin no'
# Restart SSH Service to use new policy
#--------------------------------------
sudo systemctl restart sshd
Best Way To Turn Off or Disable Windows Defender in Windows 10 (2021)
Turn Off or Disable Windows Defender in Windows 11/10 (2023)
How to Disable Windows Automatic Updates on Windows 10 Permanently (2021)
Things You Need to Disable in Windows 10 Right Now
How To Disable Windows Auto Updates & Why You Should Do It!
How to Turn Off Shorts on YouTube disable YouTube Shorts
How to Disable Antivirus on Windows 10 (Quick & Easy) | Turn Off Antivirus on Windows 10
How to disable voice assistant in Android phone, stop a talking phone, disable TalkBack
How To Disable Laptop Keyboard in Windows
10 Unnecessary Windows 10 Features to Disable to make it Lighter
Disable Unnecessary Services in Windows 10 in 2021
How To Disable S Mode On Windows 10 / Windows 11!
Another Setting to Disable in Windows (Maybe)
How to Disable Microsoft Defender Antivirus in Windows 11
How To Disable Hyper V In Windows 11 + 10 - Full Guide
How and Why to Disable Drive Ownership in macOS
How to Disable VBS and Speed Up Windows 11 or 10 for More FPS in Games
Disable Windows 11 Services You Don't Need
How To Disable Windows 10 Automatic Updates Permanently 2023 | Turn Off Windows 10 Updates
Disable This Setting to Fix Random FPS Drops
How to disable ad blocker in Google Chrome on Laptop | PC Windows 10 / 7
Disable These Windows 11 Settings Immediately
How To Disable Cortana Permanently in Windows 10 [EASY WAY]
How To Disable Integrated Graphics Card? | Disabling and Enabling Onboard Graphics (Step by Step)
Комментарии