check for ssh keys windows code example
Example 1: find ssh key windows
$ ls -al ~/.ssh
# Lists the files in your .ssh directory, if they exist
Example 2: Check Available SSH Keys on Your Computer
for key in ~/.ssh/id_*; do ssh-keygen -l -f "${key}"; done | uniq