0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Windows環境で.ppkから.pemに変換する

0
Posted at

はじめに

SSHの鍵ファイルとして.ppk形式のファイルを受領した際に、Windows環境でお馴染みのPuTTY(GUI)をあえて使わず、コマンドで.pem形式に変換してみました。
このような.ppkから.pemへの変換作業は随分前にやった事がありますが、今回は久々にやってみたので記録として記事にまとめてみました。

手順

  • 今回はWSL2(Ubuntu)上のputtyを使って変換します。
    • puttyはデフォルトではインストールされていないと思うので、事前にインストールしておきます。
// rootでWSL2にログイン
# wsl2 -u root

// puttyのインストール
# apt-get install putty

// .ppkから.pemへの変換
# puttygen {変換元.ppk} -O private-openssh -o {変換先.pem}

参考URL

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?