LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Bodhi (https://www.linuxquestions.org/questions/bodhi-92/)
-   -   ssh-agent (https://www.linuxquestions.org/questions/bodhi-92/ssh-agent-4175665753/)

SeventhSon 12-10-2019 04:55 PM

ssh-agent
 
I need ssh-agent to access some hosts, it does not work.
I ran ps and see what?:
/usr/bin/ssh-agent /usr/bin/enlightenment_start
why E17 use ssh-agent? probably this is a reason why I can not login to other hosts.

Turbocapitalist 12-12-2019 02:04 AM

More information is needed. How does it not work? What are the specific symptoms?

If you have 6 or more keys in the agent at any given time, then you would need to use both IdentityFile and IdentitiesOnly for each remote account + remote host.

As for the line you see, that is normal. Launching a window manager via ssh-agent is an easy means of having it import the relevant environment variables. Otherwise, you'd have to add them manually for each and every program you launch including every terminal window you open. Open a terminal window and verify that these variables are getting passed:

Code:

env | grep SSH
You should see the values for both SSH_AUTH_SOCK and SSH_AGENT_PID there.


All times are GMT -5. The time now is 10:49 PM.