Skip to content

kevinburke/swish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

swish

Swish will modify your SSH config file to work with a different identity file and user.

I use it to switch between SSH accounts for Github.com. I have a personal-github script set up to run this:

${GOPATH}/bin/swish --identity-file ${HOME}/.ssh/github_rsa --user kevinburke

And a work-github that switches to my work Github account and profile.

Swish uses ssh_config, a Go SSH config file parser.

Installation

You need a working Go installation, then run:

go get github.com/kevinburke/swish

Usage

Usage of swish:
  -host string
    	Host (default "github.com")
  -identity-file string
    	Identity file
  -user string
    	SSH User

About

Switch SSH settings between Github profiles

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages