Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
nginx と SSH キーで少し問題が発生しています。
nginx ユーザーがプライベート github リポジトリにアクセスするための ssh キーを追加し、「git ...」コマンドを実行してリポジトリを Ubuntu ボックスにプルまたはクローンする必要があります。
nginx ユーザーがワーカー タスクであるため、このユーザーのキーを生成することは可能ですか?
助けてくれてありがとう!
次のコマンドを使用して、パスワードを入力することなく、別のユーザーとしてコマンドを実行できますsudo。
sudo
$ sudo -u nginx ssh-keygen -t rsa -C "email@address.com"