22
25

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 3 years have passed since last update.

pemファイルとppkファイルの違い

Last updated at Posted at 2020-03-31

pemは箱、ppkはファイル

  1. pem - Privacy Enhanced Mail

    暗号化鍵や証明書をを入れておく箱(コンテナ)。
    AWSのキーペアはこっち:relaxed:

  2. ppk - PuTTY Private Key files

    こちらは箱ではなくファイル。Windows限定。
    WinSCPはこっち:relaxed:

##ppk←→pemの変換
PuTTYgenを使って変換する。

  • Macの場合
//puttyをインストールする。
$ brew install putty
//ppk→pemに変換
$ puttygen ファイル名.ppk -O private-openssh -o ファイル名.pem
//接続する
$ ssh -i ファイル名.pem username@hostname
22
25
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
22
25

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?