Hi Lars, Lars Noodén: > On 09/26/2016 05:46 PM, Stephan Beck wrote: >> ... it might >> not be necessary to fire it up with eval $(ssh-agent). >> Thanks for the command, makes it more easy. > > No problem. If you want to see which keys are available to ssh, you can > use ssh-add for that: > > ssh-add -L > > It has to be run in the same shell as you would then run ssh. > > That will list the public key matching the private key which has > actually been loaded into the available agent. But that availability > might be the issue here, as with the earlier message, I am still > wondering if ssh is finding the "right" agent.
I've tried again and detected the following: No agent is started when I login to the "local ssh user account". I have to do eval $(ssh-agent) --> for every single session ssh-add /path/to/key ssh-add -L (outputs the key) Then I connect to the remote server and it works without having to type a passphrase. Gee! The fact that there are two ssh-agents under my other user account, one with the -s option, the other exits with LX session, is still under investigation :-) Thanks Stephan