User Tools

Site Tools


openssh_hardening

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
openssh_hardening [2015/05/20 19:05]
flo [Renegerate moduli file]
openssh_hardening [2017/01/19 08:41]
flo [Sources]
Line 91: Line 91:
 PubkeyAuthentication yes PubkeyAuthentication yes
 AuthenticationMethods publickey,​password AuthenticationMethods publickey,​password
 +</​code>​
 +
 +If you want to login as root like this, you'll also have to enable this:
 +
 +<​code>​
 +PermitRootLogin yes
 </​code>​ </​code>​
  
Line 148: Line 154:
 [[https://​security.stackexchange.com/​questions/​41941/​consequences-of-tampered-etc-ssh-moduli]]\\ ​ [[https://​security.stackexchange.com/​questions/​41941/​consequences-of-tampered-etc-ssh-moduli]]\\ ​
 [[http://​chrisdrake.com/​safe-with-google-authenticator-think-again/​]]\\ ​ [[http://​chrisdrake.com/​safe-with-google-authenticator-think-again/​]]\\ ​
 +[[https://​cipherli.st/​]]\\ ​
  
 {{tag>​crypto openssl openssh pam yubikey pfs}} {{tag>​crypto openssl openssh pam yubikey pfs}}
openssh_hardening.txt ยท Last modified: 2017/01/19 08:41 by flo