Answers for "check for existing ssh key command line"

5

checking for existing ssh keys

$ ls -al ~/.ssh
# Lists the files in your .ssh directory, if they exist
Posted by: Guest on April-12-2020
0

Checking for an existing ssh key

cat ~/.ssh/id_rsa.pub or cat ~/.ssh/id_dsa.pub
$ ls ~/.ssh/*.pub
Posted by: Guest on September-06-2021

Browse Popular Code Answers by Language