authorized-keys
v0.4.0
Published
Platform agnostic path resolution to a user's authorized_keys file Node.js.
Downloads
16
Maintainers
Readme
authorized-keys
Platform agnostic path resolution to a user's authorized_keys file Node.js.
OSX
keys();
#=> /Users/wilmoore/.ssh/authorized_keys
keys('git');
#=> /Users/git/.ssh/authorized_keys
Windows
keys();
#=> C:\Users\wilmoore\.ssh\authorized_keys
keys('git');
#=> C:\Users\git\.ssh\authorized_keys
Linux
keys();
#=> /home/wilmoore/.ssh/authorized_keys
keys('git');
#=> /home/git/.ssh/authorized_keys
Installation
npm install authorized-keys --save