Manage Multiple SSH Keys
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib/skm
spec
.editorconfig
.travis.yml
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
skm.gemspec

README.md

skm -- Ssh Key Manager

Skm is a tool to manage your multiple ssh keys.

RubyGems | Build Status

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.