[Bug 1764044] Re: ssh-add asks about passphrases for keys already unlocked in the keychain

Rafael David Tinoco rafaeldtinoco at ubuntu.com
Tue May 19 12:20:42 UTC 2020


Thank you for taking the time to file a bug report.

I have just used the following in my .bashrc (like keychain man page
says so):

keychain id_rsa id_dsa id_ecdsa

[ -z "$HOSTNAME" ] && HOSTNAME=`uname -n`
[ -f $HOME/.keychain/$HOSTNAME-sh ] && . $HOME/.keychain/$HOSTNAME-sh
[ -f $HOME/.keychain/$HOSTNAME-sh-gpg ] && . $HOME/.keychain/$HOSTNAME-sh-gpg

and I have all my keys already set:

 * keychain 2.8.5 ~ http://www.funtoo.org
 * Found existing ssh-agent: 3684816
 * Known ssh key: /home/rafaeldtinoco/.ssh/id_rsa
 * Known ssh key: /home/rafaeldtinoco/.ssh/id_dsa
 * Known ssh key: /home/rafaeldtinoco/.ssh/id_ecdsa

rafaeldtinoco at workstation:~$ 

for every new shell. Just needed to put my password once.

Since it seems likely to me that this is a local configuration problem,
rather than a bug in Ubuntu, I am marking this bug as 'Incomplete'.

However, if you believe that this is really a bug in Ubuntu, then we would
be grateful if you would provide a more complete description of the problem
with steps to reproduce, explain why you believe this is a bug in Ubuntu
rather than a problem specific to your system, and then change the bug
status back to "New".

For local configuration issues, you can find assistance here:

** Changed in: openssh (Ubuntu)
       Status: New => Incomplete

You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to the bug report.

  ssh-add asks about passphrases for keys already unlocked in the

To manage notifications about this bug go to:

More information about the Ubuntu-server-bugs mailing list