On 05/21/2018 06:37 AM, Gianluca Cecchi wrote:
I was in Mate up to some days ago and the ssh passphrase was in need to be inserted only once in mater-terminal, because I had this in my .bashrc (I think)

export SSH_ASKPASS="/usr/bin/ksshaskpass"

Not exactly.  The "askpass" setting only controls which UI will be used to prompt you for your passphrase when adding a key to the agent.  It doesn't determine whether or not an agent is running.

In GNOME, you should see a process named gnome-keyring-daemon, and a child process named ssh-agent.  The agent process is the one that holds your keys in memory temporarily and handles public key authentication.

Now I see that my gnome-terminal continues to ask my passhprase without giving chance to save it into its keyring.

It seems there is a bug in the current release of gnome-keyring which will cause you to be unable to use any ssh keys if you have one or more "bad" public keys in ~/.ssh.  Check that directory for any file whose name ends in ".pub".  If you find any that don't have a matching private key, or any in the old RSA1 format, move them to a different directory or delete them.

If you don't see any bad public keys, check the output of the "echo $SSH_AUTH_SOCK" command in a terminal, as well as the output of "ssh-add -l".
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org/message/ZCZ5YNCWJW3UUGG635GWG5DIUGC6RFEC/

Reply via email to