タグ付けされた質問 「env」

1
SSHでgpg-agentを使用する
単一のコマンドラインでsshを介してgpg-agentを使用すると問題が発生します。 これが私の設定です: サーバーA:ssh経由でコマンドをトリガーします。 ssh user@serverB "sudo -E /path/to/script.sh" サーバーB:パスフレーズ署名を必要とするスクリプトを実行します。 システム情報:Ubuntu 12.04 サーバーBにgpg-agentをセットアップしました。この構成を/home/user/.bashrcに追加しました。 Invoke GnuPG-Agent the first time we login. # Does `~/.gpg-agent-info' exist and points to gpg-agent process accepting signals? if test -f $HOME/.gpg-agent-info && \ kill -0 `cut -d: -f 2 $HOME/.gpg-agent-info` 2>/dev/null; then GPG_AGENT_INFO=`cat $HOME/.gpg-agent-info | cut -c …
8 ubuntu  ssh  gpg  env 
弊社のサイトを使用することにより、あなたは弊社のクッキーポリシーおよびプライバシーポリシーを読み、理解したものとみなされます。
Licensed under cc by-sa 3.0 with attribution required.