Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On my Windows development machine, I use Pageant with a secret key to authenticate with an SVN server.

I want to know: what's the equivalent Mac process for doing this? Pageant isn't ported, how do I authenticate?

share|improve this question
If you want to import a key from your Windows machine with PuttyGen, then use Export -> OpenSSH to create a file in the correct format – Casebash May 13 '11 at 2:24
up vote 8 down vote accepted

I use SSH Keychain on my Mac to manage my ssh key agent and attached keys. It runs ssh-agent, and ssh-add to manage the keys behind the scenes, but starts up when I login, stores the passphrase in OSX login keychain (you don't have to do this, though).

share|improve this answer
Note that OSX 10.5+ has ssh-agent built-in, so no additional software install is needed (the first time I accessed the encrypted private key in OSX 10.6 I was asked for passphrase; this was then "by magic" added to keychain and no more prompts since then) – Milan Gardian May 15 '10 at 0:39
blech, that link no longer leads anywhere useful :( – bacar Sep 10 '11 at 18:18
this is the correct link - – Aldekein Jan 29 '14 at 10:01

ssh-add and ssh-agent are the equivalent tools, which are built in. Best way is to read any tutorial for linux or os x in setting up auth with ssh, it will be the same.

share|improve this answer

Pageant is a Windows workaround for not having OpenSSH installed. Since modern macs are UNIX, you don't have to install anything!

Here's a quick rundown on how to set it up

share|improve this answer
Modern Macs are Unix ;). – jtimberman Aug 31 '09 at 16:15
hahah. whoops. Thanks for pointing that out. – jweede Aug 31 '09 at 16:22

For me ~/.ssh/config file works best. Add to it groups of configs using this scheme:

host shortname
user my_username
IdentityFile ~/.ssh/key.openssh

and then

ssh shortname

will connect using that settings, including the key. This lets you have lots of different keys for different hosts without having to add them all to ssh-agent.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .