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?

More than 3 years have passed since last update.

puttyでSSH鍵認証@heteml

Last updated at Posted at 2020-09-05

1,SSHアカウント確認

hetemlコントロールパネルでSSHアカウントを確認。

2,puttyGenで公開鍵、秘密鍵作成

generate
->Save public key->authorized_keys[公開鍵]
->Save private key->id_rsa.ppk

image.png

3,サーバーに公開鍵設置

1.WIN SCP等でログイン
2.usernameフォルダに.sshフォルダを作成し、作成したauthorized_keysを設置。

4,puttyで接続

host,portを設定し、秘密鍵を設定。
(SSH->AUTH->private key file for authenticationにid_rsa.ppk)

5,パスワードを求められる場合

server refused our keyと表示される場合、authorized_keysの内容を以下の部分に置き換え、再度アップロード。
image.png

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?