Solaris のシステム管理 (セキュリティサービス)

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

次の手順で非公開鍵が変更されることはありません。この手順は、非公開鍵 (パスフレーズ) の認証メカニズムを変更するものです。詳細は、ssh-keygen(1) のマニュアルページを参照してください。

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

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


    myLocalHost% ssh-keygen -p
    Enter file which contains the private key (/home/jdoe/.ssh/id_rsa):<Press Return>
    Enter passphrase (empty for no passphrase): <Type passphrase>
    Enter same passphrase again:   <Type passphrase>
    

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