sync-ssh-key

Sync ssh public key to remote server so that you can login without being prompted for a password.

MIT License

Downloads
11
Stars
4
Committers
1

sync-ssh-key NPM version NPM downloads

Sync ssh public key to remote server so that you can login without being prompted for a password.

Install

$ npm install --save sync-ssh-key

Usage

const syncTo = require('sync-ssh-key')

syncTo('username:password@ip')
  .then(() => console.log('success'))
  .catch(e => console.log(e.stack))

CLI

Install

$ npm install -g sync-ssh-key

Usage

$ sync-ssh-key username:password@ip

License

MIT © EGOIST