Go to main content
Oracle® Solaris 11.3 での Secure Shell アクセスの管理

印刷ビューの終了

更新: 2017 年 3 月
 
 

Secure Shell の公開鍵のパスフレーズを変更する方法

次のコマンドは、実際の非公開鍵ではなく、非公開鍵の認証メカニズム (パスフレーズ) を変更するものです。詳細は、ssh-keygen(1) のマニュアルページを参照してください。

  • パスフレーズを変更します。

    ssh-keygen コマンドを–p オプションを指定して入力し、プロンプトに答えます。

    mySystem$ ssh-keygen -p
    Enter file which contains the private key (/home/username/.ssh/id_rsa):<Return キーを押す>
    Enter passphrase (empty for no passphrase): passphrase
    Enter same passphrase again: passphrase

    –p は、非公開鍵ファイルのパスフレーズの変更を要求します。