Public bug reported: In the below example, on the second invocation of ssh-add I should not be prompted to enter the passphrase again after I successfully entered it on the first instance.
$ keychain && ssh-add * keychain 2.8.2 ~ http://www.funtoo.org * Starting ssh-agent... Enter passphrase for /home/rolf/.ssh/id_rsa: Identity added: /home/rolf/.ssh/id_rsa (/home/rolf/.ssh/id_rsa) Enter passphrase for /home/rolf/.ssh/id_dsa: Identity added: /home/rolf/.ssh/id_dsa (/home/rolf/.ssh/id_dsa) $ keychain && ssh-add * keychain 2.8.2 ~ http://www.funtoo.org * Found existing ssh-agent: 25744 Enter passphrase for /home/rolf/.ssh/id_rsa: Identity added: /home/rolf/.ssh/id_rsa (/home/rolf/.ssh/id_rsa) Enter passphrase for /home/rolf/.ssh/id_dsa: Identity added: /home/rolf/.ssh/id_dsa (/home/rolf/.ssh/id_dsa) ** Affects: openssh (Ubuntu) Importance: Undecided Status: New ** Tags: bionic ** Description changed: In the below example, on the seconf invocation of ssh-add I should not be prompted to enter the passphrase again after I successfully entered it on the first instance. + $ keychain && ssh-add - $ keychain && ssh-add + * keychain 2.8.2 ~ http://www.funtoo.org + * Starting ssh-agent... - * keychain 2.8.2 ~ http://www.funtoo.org - * Starting ssh-agent... - - Enter passphrase for /home/leggewie/.ssh/id_rsa: + Enter passphrase for /home/rolf/.ssh/id_rsa: Identity added: /home/rolf/.ssh/id_rsa (/home/leggewie/.ssh/id_rsa) - Enter passphrase for /home/leggewie/.ssh/id_dsa: + Enter passphrase for /home/leggewie/.ssh/id_dsa: Identity added: /home/rolf/.ssh/id_dsa (/home/leggewie/.ssh/id_dsa) $ keychain && ssh-add - * keychain 2.8.2 ~ http://www.funtoo.org - * Found existing ssh-agent: 25744 + * keychain 2.8.2 ~ http://www.funtoo.org + * Found existing ssh-agent: 25744 - Enter passphrase for /home/rolf/.ssh/id_rsa: - Identity added: /home/leggewie/.ssh/id_rsa (/home/leggewie/.ssh/id_rsa) - Enter passphrase for /home/rolf/.ssh/id_dsa: - Identity added: /home/leggewie/.ssh/id_dsa (/home/leggewie/.ssh/id_dsa) + Enter passphrase for /home/rolf/.ssh/id_rsa: + Identity added: /home/rolf/.ssh/id_rsa (/home/leggewie/.ssh/id_rsa) + Enter passphrase for /home/rolf/.ssh/id_dsa: + Identity added: /home/rolf/.ssh/id_dsa (/home/leggewie/.ssh/id_dsa) ** Description changed: In the below example, on the seconf invocation of ssh-add I should not be prompted to enter the passphrase again after I successfully entered it on the first instance. $ keychain && ssh-add * keychain 2.8.2 ~ http://www.funtoo.org * Starting ssh-agent... Enter passphrase for /home/rolf/.ssh/id_rsa: Identity added: /home/rolf/.ssh/id_rsa (/home/leggewie/.ssh/id_rsa) - Enter passphrase for /home/leggewie/.ssh/id_dsa: + Enter passphrase for /home/rolf/.ssh/id_dsa: Identity added: /home/rolf/.ssh/id_dsa (/home/leggewie/.ssh/id_dsa) $ keychain && ssh-add * keychain 2.8.2 ~ http://www.funtoo.org * Found existing ssh-agent: 25744 Enter passphrase for /home/rolf/.ssh/id_rsa: Identity added: /home/rolf/.ssh/id_rsa (/home/leggewie/.ssh/id_rsa) Enter passphrase for /home/rolf/.ssh/id_dsa: Identity added: /home/rolf/.ssh/id_dsa (/home/leggewie/.ssh/id_dsa) ** Description changed: In the below example, on the seconf invocation of ssh-add I should not be prompted to enter the passphrase again after I successfully entered it on the first instance. $ keychain && ssh-add * keychain 2.8.2 ~ http://www.funtoo.org * Starting ssh-agent... Enter passphrase for /home/rolf/.ssh/id_rsa: - Identity added: /home/rolf/.ssh/id_rsa (/home/leggewie/.ssh/id_rsa) + Identity added: /home/rolf/.ssh/id_rsa (/home/rolf/.ssh/id_rsa) Enter passphrase for /home/rolf/.ssh/id_dsa: - Identity added: /home/rolf/.ssh/id_dsa (/home/leggewie/.ssh/id_dsa) + Identity added: /home/rolf/.ssh/id_dsa (/home/rolf/.ssh/id_dsa) $ keychain && ssh-add * keychain 2.8.2 ~ http://www.funtoo.org * Found existing ssh-agent: 25744 Enter passphrase for /home/rolf/.ssh/id_rsa: - Identity added: /home/rolf/.ssh/id_rsa (/home/leggewie/.ssh/id_rsa) + Identity added: /home/rolf/.ssh/id_rsa (/home/rolf/.ssh/id_rsa) Enter passphrase for /home/rolf/.ssh/id_dsa: - Identity added: /home/rolf/.ssh/id_dsa (/home/leggewie/.ssh/id_dsa) + Identity added: /home/rolf/.ssh/id_dsa (/home/rolf/.ssh/id_dsa) ** Summary changed: - ssh-add asks about passphrases for key already unlocked in the keychain + ssh-add asks about passphrases for keys already unlocked in the keychain ** Description changed: - In the below example, on the seconf invocation of ssh-add I should not + In the below example, on the second invocation of ssh-add I should not be prompted to enter the passphrase again after I successfully entered it on the first instance. $ keychain && ssh-add * keychain 2.8.2 ~ http://www.funtoo.org * Starting ssh-agent... Enter passphrase for /home/rolf/.ssh/id_rsa: Identity added: /home/rolf/.ssh/id_rsa (/home/rolf/.ssh/id_rsa) Enter passphrase for /home/rolf/.ssh/id_dsa: Identity added: /home/rolf/.ssh/id_dsa (/home/rolf/.ssh/id_dsa) $ keychain && ssh-add * keychain 2.8.2 ~ http://www.funtoo.org * Found existing ssh-agent: 25744 Enter passphrase for /home/rolf/.ssh/id_rsa: Identity added: /home/rolf/.ssh/id_rsa (/home/rolf/.ssh/id_rsa) Enter passphrase for /home/rolf/.ssh/id_dsa: Identity added: /home/rolf/.ssh/id_dsa (/home/rolf/.ssh/id_dsa) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1764044 Title: ssh-add asks about passphrases for keys already unlocked in the keychain To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1764044/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs