Skip to content

olivierkaisin/node-resolve-ssh-key

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ssh-key-resolver Build Status

Easily resolve the full path of your SSH private keys using their basename.

Example

'use strict';

var resolveSshKey = require('resolve-ssh-key');
var path = require('path');

var searchPath = path.resolve(process.env.HOME, '.ssh');

resolveSshKey(searchPath, 'my-key');
// <- '/Users/me/.ssh/my-key.pem'

License

MIT

About

Easily resolve the full path of your SSH private keys using their basename

Resources

License

Stars

Watchers

Forks

Packages

No packages published