Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/egoist/sync-ssh-key
Sync ssh public key to remote server so that you can login without being prompted for a password.
https://github.com/egoist/sync-ssh-key
Last synced: 22 days ago
JSON representation
Sync ssh public key to remote server so that you can login without being prompted for a password.
- Host: GitHub
- URL: https://github.com/egoist/sync-ssh-key
- Owner: egoist
- License: mit
- Created: 2016-04-13T12:54:47.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-12-25T14:18:59.000Z (almost 3 years ago)
- Last Synced: 2024-10-03T14:22:11.822Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sync-ssh-key [![NPM version](https://img.shields.io/npm/v/sync-ssh-key.svg)](https://npmjs.com/package/sync-ssh-key) [![NPM downloads](https://img.shields.io/npm/dm/sync-ssh-key.svg)](https://npmjs.com/package/sync-ssh-key)
> Sync ssh public key to remote server so that you can login without being prompted for a password.
## Install
```bash
$ npm install --save sync-ssh-key
```## Usage
```js
const syncTo = require('sync-ssh-key')syncTo('username:password@ip')
.then(() => console.log('success'))
.catch(e => console.log(e.stack))
```## CLI
### Install
```bash
$ npm install -g sync-ssh-key
```### Usage
```bash
$ sync-ssh-key username:password@ip
```## License
MIT © [EGOIST](https://github.com/egoist)