Can I test authentication with an RSA key locally?

前端 未结 2 744
心在旅途
心在旅途 2021-01-31 08:35

Is there a way to check locally if you\'re providing the correct passphrase to an RSA key?

I recently had trouble pushing some commits to github because the push prompte

2条回答
  •  温柔的废话
    2021-01-31 09:06

    Or as pointed here: How can I test my ssh-keys locally without a server

    You can do this:

    ssh-keygen -y
    

    And this doesn't require any server (works great with msysgit on Windows).

提交回复
热议问题