Hello.
How to enable SSH authentication using only a key?
My system FreeBSD 14.3
This is how SSH is currently configured.
Two authentication methods are available: password and key.
How can I create a key-only login?
How to enable SSH authentication using only a key?
My system FreeBSD 14.3
Code:
Port 22555
ListenAddress 6.4.1.9
PermitRootLogin yes
AuthorizedKeysFile .ssh/authorized_keys
PasswordAuthentication no
GatewayPorts no
X11Forwarding no
ClientAliveInterval 230
ClientAliveCountMax 30
UseDNS no
Subsystem sftp /usr/libexec/sftp-server
Two authentication methods are available: password and key.
How can I create a key-only login?