Questions tagged [keychain]

The keychain in OS X is the default secure storage location for login data and certificates

127 questions
158
votes
10 answers

How to use Mac OS X Keychain with SSH keys?

I understand that since Mac OS X Leopard the Keychain has supported storing SSH keys. Could someone please explain how this feature is supposed to work. I have some RSA keys that I've generated stored in my ~/.ssh directory for accessing various…
John Topley
  • 1,728
  • 3
  • 18
  • 22
30
votes
3 answers

Can't import public key into OSX Keychain

I created a couple of self-signed S/MIME certificates (using OSX Keychain & OpenSSL) and then exported these into 3 files: Certificate (.cer) Private Key (.p12) Public Key (.pem) When attempting to import these back into another Mac, the…
Prembo
  • 401
  • 1
  • 4
  • 6
28
votes
1 answer

Add to "My certificates" in Keychain Access? (Mac OS 10.10)

I have a certificate file like this: -----BEGIN CERTIFICATE----- MIIHCDCCBPC .... I can get it to show up under "Certificates" by going to "File->import items" (it is the "Elin" one). I can however not add it to "My certificates" which I think is…
dani
  • 283
  • 1
  • 3
  • 6
27
votes
6 answers

SSH Keychain for Xfce

I have recently switched from Gnome to Xfce on Ubuntu 9.04. In Gnome, the first time I entered the passphrase, it prompted me to save the passphrase. In Xfce however, I am prompted for the passphrase every time I connect. Is there a simple way to…
Alasdair
  • 553
  • 1
  • 8
  • 14
22
votes
7 answers

How to use SSH private key to log in without entering passphrase every time on Mac OS X Lion?

I use Mac OS X Lion and login remote hosts via SSH every day. Despite the fact that I use SSH key pair for remote authentication and I don't need to motorize every host's login phrase, it is still very annoying that the terminal asks for the…
Jianwen W.
  • 453
  • 1
  • 3
  • 8
19
votes
3 answers

Windows 10 SSH client: password-less access

I'd like to purely use the SSH client built-in to Windows 10 - no plink, no putty. I easily can login to my server using $ ssh user@server but it always asks me for my password. When using a private key $ ssh user@server -i…
Thomas S.
  • 753
  • 2
  • 13
  • 28
18
votes
1 answer

In Keychain Access on OS X, Find matching public and private keys

I have a couple keys that seem to have been generated with the same names. I would like to know which public key match up with which private keys so I can rename/delete them. Is this something that is important (keeping around the public key) or…
ACBurk
  • 283
  • 2
  • 6
18
votes
7 answers

Google Chrome constantly asking for Keychain permission?

My Google Chrome installation on Snow Leopard is asking for access to the keychain any time I go to a site with login information... This happened really suddenly - I've restarted and tried different combinations of settings (always allow) to no…
分かりますか
  • 464
  • 2
  • 6
  • 13
17
votes
4 answers

How do you "source" a file in fish?

I'd like to use keychain with the fish shell, but I'm not sure how to get fish to load the ~/.keychain/hostname-fish file to set the appropriate environment variables. In bash, there's the "source" command, but it doesn't exist in fish.
Lorin Hochstein
  • 4,287
  • 6
  • 29
  • 26
17
votes
2 answers

OSX wants to make changes. Type an administrator's name and password... Won't go away

I recently needed to add some SSL certificates to my Mac (OSX 10.10.5) in order connect to a remote service. The certificates are needed for 2 factor authentication. I have full Admin rights in OSX. I am able to successfully add the certificates to…
Jake Wilson
  • 4,314
  • 10
  • 38
  • 39
16
votes
2 answers

Batch move of many items between keychains without bother

If I move 30 items from one keychain to another, I have to enter the same password 30-32 times, once for each item moved. Can I avoid this? On OSX 10.6 Server, using Keychain Access.
Charles Stewart
  • 2,872
  • 1
  • 26
  • 38
15
votes
3 answers

When I SSH into OS X, I don't have my keychain. When I use Terminal, I do

Steps Open PuTTY on my Windows desktop. SSH into my MacBook Pro. cd to a github clone $ git push Expected Everything up-to-date Actual Enter passphrase for key '/Users/whit537/.ssh/github': Notes The github key is listed in Keychain Access. I…
whit537
  • 251
  • 1
  • 2
  • 5
13
votes
3 answers

Mac OS X security export won't accept passphrase

I'm trying to export some items on my keychain like this: hostname:~ username$ security export -k login.keychain -t all -P "passphrase" but I always get this error: security: SecKeychainItemExport: Passphrase is required for import/export What…
Ben Collins
  • 1,000
  • 3
  • 12
  • 24
11
votes
1 answer

Clear SMB network share credentials in OS X

I'm mounting a Windows network share on OS X 10.7 without being asked for the credentials. How can I make OS X forget any stored credential so it asks me? I've already searched all displayed items in the Keychain, but none looks like it belongs to…
Mike L.
  • 5,617
  • 16
  • 50
  • 69
10
votes
3 answers

How can I stop the Character Viewer from appearing every time OS X asks me for a password?

This is new behaviour in OS X 10.6: when I get keychain dialog boxes asking me for my password or to approve use of my keychain, the Character Viewer appears over top. I don't want to disable the Character Viewer completely because I use it; I just…
Luke Andrews
  • 99
  • 1
  • 1
  • 4
1
2 3
8 9