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

SSH key support #7

Closed
amitsnyderman opened this issue Apr 9, 2014 · 2 comments
Closed

SSH key support #7

amitsnyderman opened this issue Apr 9, 2014 · 2 comments

Comments

@amitsnyderman
Copy link

Some folks might prefer to not store their password in cleartext.

@kersten
Copy link

kersten commented Apr 16, 2014

+1

I would help here, but I am not the coffee god and don't want to mess the code ;)

Should only be something like this:

connection.connect
    host: hostname
    port: port
    username: username
    (keyfile) ? privateKey: require('fs').readFileSync(keyfile) ? password: password

@yongkangchen
Copy link
Owner

Already supported, I will close this issue.

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

No branches or pull requests

3 participants