Authentification

From Blue-IT.org Wiki

Revision as of 07:05, 19 August 2015 by Apos (talk | contribs) (Created page with "== Yubikey == == SSH == Generally: only use key based authentification with webserver logins! vim /etc/ssh/sshd_config # Authentication: [...] PermitRootLogin without-p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Yubikey

SSH

Generally: only use key based authentification with webserver logins!

vim /etc/ssh/sshd_config
# Authentication:
[...]
PermitRootLogin without-password
StrictModes yes

RSAAuthentication yes
PubkeyAuthentication yes

IgnoreRhosts yes
RhostsRSAAuthentication no
HostbasedAuthentication no
PermitEmptyPasswords no
ChallengeResponseAuthentication no
PasswordAuthentication no # <<<< !!!!

X11Forwarding no
UseLogin no
UsePAM no  <<<< !!!!