Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 541 Bytes

ssh-server.md

File metadata and controls

41 lines (28 loc) · 541 Bytes

SSH Server

Installation

sudo apt install openssh-server

Service

sudo systemctl status ssh

Configuration

SSH Server Configuration

sudo vi /etc/ssh/sshd_config

SSH Server Configuration: PermitRootLogin

# PermitRootLogin prohibit-password
PermitRootLogin yes

SSH Server Configuration: PasswordAuthentication

# PasswordAuthentication yes
PasswordAuthentication no

SSH Server Configuration: PubkeyAuthentication

PubkeyAuthentication yes