LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   What is responsible for the functions of an ssh-agent in Slackware's xfce? (https://www.linuxquestions.org/questions/slackware-14/what-is-responsible-for-the-functions-of-an-ssh-agent-in-slackwares-xfce-4175672164/)

Lockywolf 03-28-2020 10:58 PM

What is responsible for the functions of an ssh-agent in Slackware's xfce?
 
I am running ssh -A so that ssh connections can be easily nested. That is, I connect from laptop1 to, say, a machine1 with ssh -A machine1, and then I can connect to machine 2 from machine1, even though machine1 doesn't have id_rsa keys in .ssh, because ssh forwards authentication requests to the agent running on laptop1.

The problem is, every time I do it, I have to run ssh-add in to manually cache the keys on laptop1:~/.ssh/id_rsa

However, we have some password management facilities in Slackware as well, something polkit-related, or something like that. I.e., there should be some GUI guy started on xfce login, that would ask for a passphrase and instantiate the ssh-agent.

Who is this guy, and how do I explicitly make it cache ~/.ssh/id_rsa ?

dugan 03-29-2020 05:33 PM

Put the following in ~/.ssh/config:
Code:

AddKeysToAgent yes

Lockywolf 03-30-2020 07:29 AM

The guy that is used by Skype for password saving is called "Gnome Keyring", and I think it is the "default" way of unlocking keys in xfce sessions.

Not sure how it is expected to get started so that everything inherits its SSH_AUTH_SOCK.


All times are GMT -5. The time now is 12:59 PM.