Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 480 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 480 Bytes

Basic SSH server hardening

Prerequisites

The default configuration /etc/ssh/sshd_config must contain Include /etc/ssh/sshd_config.d/*.conf

Install

curl -fsSL https://raw.githubusercontent.com/ioqy/ssh-server-hardening/master/install.sh | sudo bash

or

wget -q -O- https://raw.githubusercontent.com/ioqy/ssh-server-hardening/master/install.sh | sudo bash

Uninstall

sudo "/usr/local/bin/uninstall-ssh-server-hardening.sh"