Can I delete authorized_keys in FreeBSD

hrolsons
hrolsons used Ask the Experts™
on
Can I delete /root/authorized_keys in FreeBSD.  I've had some break-ins and want to cover all bases.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2013
Top Expert 2013
Commented:
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!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial