Sync ssh public key to remote server so that you can login without being prompted for a password.
MIT License
Sync ssh public key to remote server so that you can login without being prompted for a password.
$ npm install --save sync-ssh-key
const syncTo = require('sync-ssh-key')
syncTo('username:password@ip')
.then(() => console.log('success'))
.catch(e => console.log(e.stack))
$ npm install -g sync-ssh-key
$ sync-ssh-key username:password@ip
MIT © EGOIST