LoginSignup
16
16

More than 5 years have passed since last update.

sshの秘密鍵と公開鍵のセットが正しいか確認する方法

Last updated at Posted at 2013-08-16

すぐ忘れそうなのでメモ。

% ssh-keygent -y -f <private_key>

これで公開鍵が再度出力されるので、これと見比べる

再作成したいなら

% ssh-keygen -e -f <private_key> [-m <key_format>]
16
16
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
16
16