# git-key

> git ssh key configuration command line tool

Latest version **1.3.1** (published 2020-06-09) · ISC license · 0 weekly downloads

## Install

```sh
npm install git-key
pnpm add git-key
yarn add git-key
bun add git-key
```

Provides the command `git-key`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.1 |
| Published | 2020-06-09 |
| First published | 2018-01-29 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 9.9 KB |
| Known vulnerabilities | 0 (+25 in 1 direct dependencies) |
| Install scripts | no |
| Author | Jay Deaton |
| Maintainers | jayrdeaton |
| Keywords | terminal, git, ssh |

## Links

- npm: https://www.npmjs.com/package/git-key
- npm.io page: https://npm.io/package/git-key

## Dependencies (5)

- [axios](https://npm.io/package/axios.md) ^0.19.2
- [termkit](https://npm.io/package/termkit.md) ^1.4.9
- [cosmetic](https://npm.io/package/cosmetic.md) ^1.2.1
- [inquirer](https://npm.io/package/inquirer.md) ^5.2.0
- [working-bar](https://npm.io/package/working-bar.md) ^1.7.3

## Alternatives

- [localforage](https://npm.io/package/localforage.md) — 6.2M weekly downloads
- [localforage-observable](https://npm.io/package/localforage-observable.md) — 30.8K weekly downloads
- [@y/y](https://npm.io/package/@y/y.md) — 30.1K weekly downloads
- [@metaobjectsdev/render](https://npm.io/package/@metaobjectsdev/render.md) — 3.5K weekly downloads
- [@ledgerhq/coin-algorand](https://npm.io/package/@ledgerhq/coin-algorand.md) — 1.1K weekly downloads

## Recent versions

- 1.3.1 (latest) — 2020-06-09
- 1.3.0 — 2019-04-19
- 1.2.1 — 2018-01-29
- 1.2.0 — 2018-01-29
- 1.0.2 — 2018-01-29

## README

# Git-Key

A command line tool to make git ssh configuration easy

## Getting Started

These instructions will show you how to quickly create an ssh key and add it to your github account without leaving the terminal

### Installing

```
npm install -g git-key
```

### Using

Create your ssh key

```
git-key
```

Create an ssh key with a specified name

```
git-key add -n myName
```

Create an ssh key with a passphrase (No passphrase is default)
```
git-key add -p // Will prompt for passphrase
git-key add -p pass // Supplied passphrase "pass"
```

Force replace existing ssh key (Forgo confirmation prompt)

```
git-key add -f
```

Combine options

```
git-key add -fn myName -p pass
```

Configure username and/or password.  WARNING!!! This is not secured.  Your github credentials will be stored in a configuration file.  Unencrypted currently.

```
git-key config -u example@example.com // Will still prompt for password
git-key config -u example@example.com -p password
```

Configure ssh directory

```
git-key config -d ~/Developer/MyDirectory
```

Reset configuration to default values (directory: ~/.ssh, username: null, password: null)

```
git-key reset
```

Print help

```
git-key -h
git-key add -h
// etc
```

## Authors

* **Jay Deaton** - [Github](https://github.com/jayrdeaton)

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details

---
_Source: https://npm.io/package/git-key · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
