Can I delete authorized_keys in FreeBSD

Can I delete /root/authorized_keys in FreeBSD.  I've had some break-ins and want to cover all bases.
hrolsonsAsked:
Who is Participating?
 
woolmilkporcCommented:
You can. Private/public key based login for root will no longer be possible, though - if "/root/authorized_keys"  is actually configured as root's "AuthorizedKeysFile" in sshd_config, that is. The default location in BSD is ~/.ssh/authorized_keys, however!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.