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.

sshの際に毎回 Enter passphrase for と聞かれる際の対処方法

Posted at

公開鍵を設定してせっかくパスワードなしで入れるようになるはずなのに、毎回
Enter passphrase for /home/user/.ssh/id_rsa:
と聞かれる場合の対処方法です。
鍵を登録する必要があるようです。

$ ssh-agent
$ eval `ssh-agent`
$ ssh-add ~/.ssh/id_rsa

うまくいくと鍵を生成した際のパスワードを聞かれるので入力してください。
その後sshでパスワードなしで接続できるか確かめてください。

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?