In OS X you can bind your user account to your Apple ID and then use it to reset your OS X password if you’ve lost it. In your keychain again. With your Mac, the password reset utility. Nov 30, 2019 A lot of Mac users have stated that a popup message keeps asking them to enter their keychain passwords. The notification message says: “AMPDevicesAgent wants to use your confidential information stored in iOS backup in your keychain. To allow this, enter the login keychain password”. Therefore, after resetting the MacOS Catalina password, you may encounter with the keychain. So, on that time you have to provide keychain password in case you remember the password otherwise create a new keychain login and enter the password. I prefer you to create a new keychain if you forgot the password. Nov 04, 2007 I just used the built in VPN setup in OS X. It is set up with Auto detect security and a name and password. It was set up with Tiger and it remained 'set up' when I upgraded to leopard. It asked for my password once (which I wasn't surprised about) but then it keeps asking every time I connect. Jun 20, 2018 Sometimes the the Local Items Keychain on the Mac will develop a problem. Then, it will constantly ask for the password and not accept the correct. Jan 17, 2017 Method #3: Use keychain. OpenSSH offers RSA and DSA authentication to remote systems without supplying a password. Keychain is a special bash script designed to make key-based authentication incredibly convenient and flexible. It offers various security benefits over passphrase-free keys. Install the keychain as follows: $ brew install keychain.
Mac Os X Keeps Asking For Keychain Password
I recently upgraded my MacOS Sierra and now ssh command keep asking for passphrase as follows when I try to login to my remote Linux/Unix server:Enter passphrase for key ‘/Users/vivek/.ssh/id_ed25519’:
How do I fix MacOS Sierra upgrade that keep breaking ssh keys in terminal?
![Mac Os Catalina Keeps Asking For Keychain Password Mac Os Catalina Keeps Asking For Keychain Password](/uploads/1/2/6/5/126587625/738095224.png)
My MacOS used to remember the ssh passphrase, but now it is asking it to me each time when I try to login to local FreeBSD nas server or remote Ubuntu server when I type:
$ ssh user@server
$ ssh [email protected]
Sample outputs:
Let us see how to fix the MacOS sierra upgrade breaking my SSH keys using various methods.
ADVERTISEMENTS
Method #1: Fix when macOS keeps asking ssh passphrase after updated to Sierra or after reboots
You need to use the UseKeychain option in your ~/.ssh/config file. From the ssh_config man page:
On macOS, specifies whether the system should search for passphrases in the user’s keychain when attempting to use a particular key. When the passphrase is provided by the user, this option also specifies whether the passphrase should be stored into the keychain once it has been verified to be correct. The argument must be yes or no. The default is no.
This is the easiest and recommended solution for all users. Edit your ~/.ssh/config file:
Append the following line in Host * section:
$ vi ~/.ssh/config
Append the following line in Host * section:
Here is my sample file:
Save and close the file. This should force ssh to remember user’s key in the keychain:
$ ssh user@server
$ ssh [email protected]
Method #2: Use ssh-agent/ssh-add to add all known keys to the SSH agent
The syntax is as follows to use SSH Keys on a Linux / Unix / MacOS System:
Method #3: Use keychain
OpenSSH offers RSA and DSA authentication to remote systems without supplying a password. keychain is a special bash script designed to make key-based authentication incredibly convenient and flexible. It offers various security benefits over passphrase-free keys.
Install the keychain as follows:
$ brew install keychain
Sample outputs:
Append the following code in your ssh profile (assuming that you are using id_rsa file):
See “keychain: Set Up Secure Passwordless SSH Access For Backup Scripts” for more info.