~/.ssh directory so go there with cd ~/.ssh.sudo nano id_rsa.pub every file that has .pub extension is the public SSH key.ls -al ~/.ssh to check any SSH keys present. I know this from this link, https://help.github.com/articles/checking-for-existing-ssh-keys/.