Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I test my ssh-keys locally without a server

Tags:

windows

ssh

local

I want to test my keys in ~/.ssh. I do not have sshd running (Git-Bash@Windows does not provide it). I'd like to test if I still remember the passphrase for my keys.

I found these answers [1], [2], but they do not work for me.

Is there an easy way to verify my ssh keys without an ssh server?

like image 367
Juve Avatar asked Feb 27 '12 14:02

Juve


People also ask

How do I find my ssh public key in Windows?

The public part of the key is saved in the id_rsa. pub file, while the private part is saved in the id_rsa file. Both files can be accessed from this location using Explorer: C:\Users\[your user name]\. ssh .


1 Answers

This should work:

ssh-keygen -y

Or to avoid filename prompt question:

ssh-keygen -y -f key_file
like image 131
sransara Avatar answered Oct 18 '22 23:10

sransara