Skip to content

Instantly share code, notes, and snippets.

@bikeonastick
Created June 26, 2015 14:14
Show Gist options
  • Save bikeonastick/00650d6c56601faaf43f to your computer and use it in GitHub Desktop.
Save bikeonastick/00650d6c56601faaf43f to your computer and use it in GitHub Desktop.
get cap to use a different ssh key
ssh_options[:keys] = [File.join(ENV["HOME"], ".ssh", "other.key")]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment