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?

秘密鍵はあるのに公開鍵がないとき

0
Posted at

まず、秘密鍵から公開鍵が作れます(すごい)

ローカルのlinux内に秘密鍵があるとします
そしたら、この一文で秘密鍵から公開鍵を作ります

ubuntu
ssh-keygen -y -f your_secret_key.pem

この実行結果をメモします

公開鍵の置き方

リモート先に
.ssh フォルダを作って
そこに authorized_keys ファイルを作って
公開鍵の中身を書き込みます。

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?