Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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)