(PuTTYユーザマニュアル) 9.3 Pageantのコマンドライン - 9.3 The Pageant command line

http://the.earth.li/~sgtatham/putty/0.60/htmldoc/Chapter9.html#pageant-cmdlineの日本語訳。<< 9.2 Pageantのメインウィンドウ - 目次に戻る - 9.4 エージェント転送を使う >>

訳文

Pageantの起動時に自動的に実行する処理をコマンドラインのオプションで指定できます。WindowsGUIからPageantを起動する場合は、起動時に使用するWindowsのショートカットのプロパティを編集することで設定できます。

Pageant can be made to do things automatically when it starts up, by specifying instructions on its command line. If you're starting Pageant from the Windows GUI, you can arrange this by editing the properties of the Windows shortcut that it was started from.

Pageantの実行中に下記のオプションを指定してPageantを起動した場合、新たなインスタンスは作成されず既存のインスタンスに処理が適用されます。

If Pageant is already running, invoking it again with the options below causes actions to be performed with the existing instance, not a new one.

9.3.1 Pagenaの起動時にキーを読み込む設定 - 9.3.1 Making Pageant automatically load keys on startup

コマンドラインの指定により、Pageantの起動時に自動的に秘密キーを読み込むことができます。次ようなコマンドラインを指定します。

Pageant can automatically load one or more private keys when it starts up, if you provide them on the Pageant command line. Your command line might then look like:

C:\PuTTY\pageant.exe d:\main.ppk d:\secondary.ppk

キーが暗号化されている場合、Pageantの起動時にパスフレーズが要求されます。

If the keys are stored encrypted, Pageant will request the passphrases on startup.

Pageantが実行中に上記のコマンドラインを指定した場合、既存のPageantにキーが読み込まれます。

If Pageant is already running, this syntax loads keys into the existing Pageant.

9.3.2 Pageantが自動的に別のプログラムを起動する設定 - 9.3.2 Making Pageant run another program

Pageantが別のプログラムを起動するよう設定できます。Pageantの初期化が完了してコマンドラインで指定したキーを全て読み込んだ後に、指定したプログラが起動されます。これらのプログラム(たとえばPuttyPlinkを使用するWinCVSなど)からPageantが読み込んだキーを使用できます。

You can arrange for Pageant to start another program once it has initialised itself and loaded any keys specified on its command line. This program (perhaps a PuTTY, or a WinCVS making use of Plink, or whatever) will then be able to use the keys Pageant has loaded.

次のように、-cオプションの後にコマンドラインを指定します。

You do this by specifying the -c option followed by the command, like this:

C:\PuTTY\pageant.exe d:\main.ppk -c C:\PuTTY\putty.exe

<< 9.2 Pageantのメインウィンドウ - 目次に戻る - 9.4 エージェント転送を使う >>