https://github.com/xuhdev/skm
Manage Multiple SSH Keys
https://github.com/xuhdev/skm
Last synced: 8 months ago
JSON representation
Manage Multiple SSH Keys
- Host: GitHub
- URL: https://github.com/xuhdev/skm
- Owner: xuhdev
- License: bsd-2-clause
- Created: 2013-05-05T02:19:37.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-06-09T20:07:36.000Z (about 13 years ago)
- Last Synced: 2024-04-26T02:03:44.858Z (about 2 years ago)
- Language: Ruby
- Homepage: http://www.topbug.net/blog/2013/05/05/manage-multiple-ssh-private-keys/
- Size: 184 KB
- Stars: 10
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# skm -- Ssh Key Manager
Skm is a tool to manage your multiple ssh keys.
[RubyGems][] | [](http://travis-ci.org/xuhdev/skm)
## Installation
gem install skm
## Usage
Create a new key:
skm create my_new_key
Create a new key with comment:
skm create my_new_key -C "my@email.com"
Switch to another key:
skm use key_name
NOTE: ssh-agent may need to be disabled for this new key to be valid!
List all keys:
skm list
For example, first we create two keys:
skm create key1
skm create key2
Then we switch to `key1`:
skm use key1
After done some work, we could then switch to `key2`:
skm use key2
Use `skm --help` and `skm [command] --help` to read more.
## Where are my keys?
By default, all your keys are put in `~/.skm`. But you can use other
directories by using `--skm-dir` option on command line.
[RubyGems]: https://rubygems.org/gems/skm