Answer the question
In order to leave comments, you need to log in
Deleting unnecessary keys on the server after ssh-copy-id - where and how to delete?
If someone sent their key to my server via ssh-copy-id (so that later I can log in without a password) where can I see all these keys, who sent them and how to remove unnecessary ones?
Answer the question
In order to leave comments, you need to log in
~/.ssh/authorized_keys
/etc/ssh/sshd_config
has an option
# The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2
# but this is overridden so installations will only check .ssh/authorized_keys
#AuthorizedKeysFile .ssh/authorized_keys
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question