Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ssh-agent support #74

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

cgty
Copy link

@cgty cgty commented Mar 20, 2018

This change makes possible to use ssh-agent with a simple server option.

Instead of providing a password or pem file, one can simply pass "useAgent": true in pm2-meteor.json. By setting this value to true, SSH_AUTH_SOCK environment variable (which holds the unix-domain socket created by ssh-agent) will be passed to nodemiral.

This change will make possible to use encrypted private keys with pm2-meteor.

Fixes #36, #10

@xlinbsd
Copy link

xlinbsd commented May 29, 2018

Hello,
I confirm this feature is needed here, since I'm forced to reconfigure sshd of my hosts and lose ssh-agent advantages to be able to deploy.
Regards
[edit]
the above commit posted works

@vale981
Copy link

vale981 commented Apr 7, 2019

Bump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants