Skip to content
Switch SSH settings between Github profiles
Branch: master
Clone or download
kevinburke Stat the file before closing it
Oops. Guess no one has been using this
Latest commit eb96590 Apr 5, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
main.go Stat the file before closing it Apr 4, 2018


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 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.


You need a working Go installation, then run:

go get


Usage of swish:
  -host string
    	Host (default "")
  -identity-file string
    	Identity file
  -user string
    	SSH User
You can’t perform that action at this time.