~/.ssh
is used by SSH daemons and SSH clients to store user specific configuration and authentication data (public and private keys). ~/.ssh
secret, the recommended permissions are read/write/execute for the user and not accessible by others: $ mkdir -m 700 ~/.ssh
~/.ssh/id_dsa
~/.ssh/id_ecdsa
~/.ssh/id_ecdsa_sk
~/.ssh/id_ed25519
~/.ssh/id_ed25519_sk
~/.ssh/id_rsa
ssh -i
.pub
file extension: ~/.ssh/id_dsa.pub
~/.ssh/id_ecdsa.pub
~/.ssh/id_ecdsa_sk.pub
~/.ssh/id_ed25519.pub
~/.ssh/id_ed25519_sk.pub
~/.ssh/id_rsa.pub