The Artima Developer Community
Sponsored Link

Perl Buzz Forum
Handling multiple SSH keys in your SSH config - Mechanix

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Andy Lester

Posts: 518
Nickname: petdance
Registered: Jun, 2009

Andy Lester is an author and programmer.
Handling multiple SSH keys in your SSH config - Mechanix Posted: Jun 2, 2010 11:18 AM
Reply to this message Reply

This post originated from an RSS feed registered with Perl Buzz by Andy Lester.
Original Post: Handling multiple SSH keys in your SSH config - Mechanix
Feed Title: Perlbuzz
Feed URL: http://perlbuzz.com/atom.xml
Feed Description: What's happening in the world of Perl programming, including Perl 5, Perl 6, the CPAN and Parrot?
Latest Perl Buzz Posts
Latest Perl Buzz Posts by Andy Lester
Latest Posts From Perlbuzz

Advertisement

I've been frustrated lately trying to juggle multiple SSH keys on various servers I'm on. If I've got one set up to the Subversion server at work, then I can't authenticate with github. If I let github be the server that I have a private key for, then I'm entering a password whenever I do an "svn up" on the work server.

I played with ssh-agent, but that seemed to require starting up a process every time I logged in, and I couldn't get it running in my .bashrc, and it required manually adding keys.

And then I stumbled across this article that introduced me to the IdentityFile argument. Now I have this in my ~/.ssh/config and all is well with the world.

Host github.com
    HostName github.com
    IdentityFile ~/.ssh/github_rsa
    User petdance

Read: Handling multiple SSH keys in your SSH config - Mechanix

Topic: Artistic License 2.0 makes dual-license boilerplate unnecessary Previous Topic   Next Topic Topic: Allison Randal on how open source is more than code

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use