Home > Archives > ssh

ssh

Publish:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
sudo systemctl status ssh
sudo systemctl start ssh

vim /etc/ssh/sshd_config
PermitRootLogin prohibit-password
PubkeyAuthentication yes

sudo systemctl reload ssh

log
/var/log/auth.log
/var/log/secure


声明: 本文采用 BY-NC-SA 授权。转载请注明转自: Ding Bao Guo