Skip to content

Commit

Permalink
Update Securing_SSH_with_FIDO2.adoc
Browse files Browse the repository at this point in the history
corrections
  • Loading branch information
elukewalker authored Jun 18, 2024
1 parent 8c3ea17 commit e446bb8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions content/SSH/Securing_SSH_with_FIDO2.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ sudo ssh-keygen -t ed25519-sk -O resident -O verify-required -C "Your Comment"
+
[source,powershell]
----
sudo ssh-keygen -t ed25519-sk -O resident -O verify-required -C "Your Comment"
ssh-keygen -t ed25519-sk -O resident -O verify-required -C "Your Comment"
----
+
. Enter the PIN and touch the key when prompted.
Expand Down Expand Up @@ -136,7 +136,7 @@ PubkeyAuthOptions verify-required
# Public keys location
AuthorizedKeysFile .ssh/authorized_keys
# Allow root only with MFA
PermitRootLogin without-password
PermitRootLogin prohibit-password
# Disable password authentication
PasswordAuthentication no
PermitEmptyPasswords no
Expand Down Expand Up @@ -168,7 +168,7 @@ nano ~/.ssh/authorized_keys

*Using SSSD (Optional)*

* For centralized management, store public keys in LDAP (Active Directory) using SSSD.
* For centralized management, store public keys in LDAP (for instance Active Directory) using SSSD.

== Using Multiple SSH Credentials
To generate multiple credentials on the same security key:
Expand Down Expand Up @@ -214,7 +214,7 @@ journalctl -r /usr/sbin/sshd
+
[source,sh]
----
ssh -vvvv user@host
ssh -vvv user@host
----

*Permission Issues:*
Expand Down

0 comments on commit e446bb8

Please sign in to comment.