1
vote
1answer
63 views

Connecting to EC2 Amazon using iTerm and .pub-file

How can I setup my iTerm to connect my amazon server using the .pem file I have been given. When I try ssh PUBLIC-DNS it returns Permission denied (publickey).. EDIT I have now tried the following ...
0
votes
1answer
44 views

Terminal won't ask for passphrase and not stored in keychain

I recently rent a VPS and generated a public/private key pair and transferred it to my server (added it there to the authorized_keys file) ... So far on my first login via terminal on OSX I got asked ...
3
votes
1answer
29 views

How to choose keys in keychain access?

I would like keychain access to store all my keys and passwords for my ssh accesses. However, if I store too many keys, I get "Too Many Authentication Failures" since SSH will try to send all keys ...
0
votes
0answers
14 views

msmtp not looking at keychain over ssh, only looks when in terminal

I've been wrestling with setting up msmtp for some time now, only to realize that when I run it from a terminal it works as expected (uses my password from my login keychain) but when I'm ssh'ed to ...
12
votes
1answer
694 views

How can I disable SSH KeychainIntegration in OS X Mavericks?

I'm having some issues with SSH KeychainIntegration in OS X Mavericks. I've tried poking around Apple's support site, but haven't seen anyone having my issue. I have seen lots of people who ...
6
votes
2answers
348 views

Make my password protected SSH key expire or timeout after a while

I have a private SSH key I use for authentication that is stored in *~/.ssh/id_rsa*. When I ssh into a server, I am prompted for the password to unlock the key: I like this. I also like that I can ...
1
vote
0answers
229 views

SSH Agent forwarding [closed]

I'm very new to ssh, And I want to test how agent forwarding is working on Mac OS X. I added one key using ssh-add, but when I try to connect to the server it's asking me a passphrase. Please ...
0
votes
2answers
427 views

Recover ssh private key from Keychain Access

I have OS X 10.8.5 – I just accidentally deleted my .ssh directory. I have backups, but would prefer not to have to go through the trouble. The keys still "work" right now (they're loaded into ...
1
vote
1answer
2k views

Mavericks SSH keys and Keychain

Before Mavericks I could use Keychain to store my SSH keyfile passwords The connection between private key and Keychain was like this: ssh-add -K /path/of/private/key However now in Mavericks, the ...
6
votes
4answers
3k views

OSX ssh-agent: no password pasting, and problem with PKCS#8?

I use ssh on my machine, and have set up a long not-human-friendly passphrase which is saved in my password manager. What makes me crazy every time is that I cannot paste into the window pictured ...
15
votes
5answers
10k views

Cannot unlock password protected SSH key in OS X Mavericks

I just upgraded to OSX 10.9, and when trying to establish an SSH connection with public key authentication, a prompt appears asking for my SSH key password. I initially thought that the upgrade ...
6
votes
1answer
7k views

OS X Keychain keeps prompting me for my SSH passphrase even though I save it (OS X 10.6.8) [duplicate]

Every time I log in to a remote server with SSH, OS X keychain prompts me to remember the SSH passphrase. I type in the passphrase and check the box to remember it. I then connect ok to the server but ...
4
votes
1answer
733 views

SSH, passphrases, keychains, Could not open a connection to your authentication agent

I will be very surprised if anyone has the answer to this. I have googled for a long time but no luck. As an iOS developer who will shortly be welcoming a new team member I want to set up a ...
4
votes
1answer
5k views

How can I permanently add my SSH private key to Keychain so it is automatically available to ssh?

It seems that ssh-add -K ~/.ssh/id_rsa will load your key but will ask for the password each time you reboot. I am looking for a solution that would not require me to re-enter the key password ...
0
votes
1answer
290 views

How to configure and use multiple ssh RSA keys with Keychain help

I am looking for a solution that would automatically load multiple RSA keys at login, some of them having passwords stored in the Keychain. Example: first keys would be obviously in ~/.ssh/id_rsa and ...
3
votes
1answer
308 views

What's the best way to login to remote servers?

I'm currently logging in to a remote server by opening terminal, starting ssh-agent, adding a key, launching xterm and then connecting via ssh. What tools should I be using for this? I've looked at ...
1
vote
2answers
598 views

How to fix a Lion upgrade that killed SSH keys?

I just upgraded to Lion and find now that my ssh keys are not working properly when trying to log into various servers via SSH. I've checked permissions on the ~/.ssh directory and the ...
1
vote
3answers
1k views

Where does Mac OS X store the ssh passwords?

Some time ago Sourceforge forced everybody to change the Passwords. A real pain since I use a lot of automated scripts. One of them uses ssh connection to upload the newest passwords. This one is not ...
4
votes
2answers
2k views

Keychain won't remember my SSH password when connecting to server

I routinely develop on two different servers. One server requires my private SSH key stored in ~/.ssh/id_rsa. This part of the story works fine. The other server should not require any SSH keys, yet ...
3
votes
3answers
526 views

Problem with ssh agent

I'm having a problem using ssh agent to make sure I don't have to enter a password each time a certain program uses my id_rsa private key. I did ssh-add -K ~/.ssh/id_rsa and it seemed to add an entry ...