以下の内容はhttps://takuya-1st.hatenablog.jp/entry/20121227/1356632010より取得しました。


秘密鍵のパスフレーズを解除してパスフレーズなしの秘密鍵を作る。

秘密鍵のパスフレーズを解除してパスフレーズなしの秘密鍵を作る。

秘密鍵のパスフレーズを解除して使ってたけど、やっぱり秘密鍵にパスフレーズを掛けたくなった。
ちゃんと設定できたかどうか、いったんパスフレーズの解除をして、パスフレーズを設定し直すことにした。

新規追加(更新・削除)するには ssh-keygen -p を使います。

秘密鍵のパスフレーズ解除手順

takuya@takuya-PC:~/.ssh$ chmod 600 /home/takuya/.ssh/id_rsa.v1046r
takuya@takuya-PC:~/.ssh$ ssh-keygen.exe -p
Enter file in which the key is (/home/takuya/.ssh/id_rsa): /home/takuya/.ssh/id_rsa.v1046r
Key has comment '/home/takuya/.ssh/id_rsa.v1046r'
Enter old passphrase :
Enter new passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved with the new passphrase.
takuya@takuya-PC:~/.ssh$ chmod 400 /home/takuya/.ssh/id_rsa.v1046r

特に特筆するべきことはありません。簡単です。パスワードなしで、Enter押すだけです。




以上の内容はhttps://takuya-1st.hatenablog.jp/entry/20121227/1356632010より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14