0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

macのputtygenで秘密鍵から公開鍵を作る

Last updated at Posted at 2019-10-11

win機でのputtygen操作は引っかかっても、macのコンソールから実行するようなコマンドは
意外とすぐに引っかからなかったので備忘録として書いてみます。需要があれば

秘密鍵 -> 公開鍵

puttygen (秘密鍵ファイル名) -O (変換形式) -o (生成する公開鍵ファイル名)

出力形式として指定できるのは次の通り

public: ssh.com(SECSH)形式の公開鍵として変換
public-openssh: OpenSSH形式の公開鍵として変換

一例

puttygen hoge.ppk -O public-openssh -o hoge.pub
0
1
0

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
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?