LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-28-2020, 10:58 PM   #1
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
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 ?
 
Old 03-29-2020, 05:33 PM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,219

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
Put the following in ~/.ssh/config:
Code:
AddKeysToAgent yes
 
1 members found this post helpful.
Old 03-30-2020, 07:29 AM   #3
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Original Poster
Rep: Reputation: 253Reputation: 253Reputation: 253
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux AHCI driver which functions are responsible to read/write on disk saurin Linux - Kernel 7 07-23-2014 05:32 PM
[SOLVED] ssh-agent -> The agent has no identities. windstory Linux - Security 2 11-19-2008 06:45 PM
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
can't find ide.agent & block.agent for hotplug for 2.6 jg167 Linux - Newbie 1 06-23-2004 05:20 PM
Hotplug problems: RH 9, 2.6.6, PCMCIA-CS 3.2.7 (missing ide.agent & block.agent) jg167 Red Hat 1 06-23-2004 05:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration