[PLUG] Invoking ssh-agent in Slackware
Don Buchholz
buchholz at easystreet.net
Sun Oct 30 23:45:20 UTC 2016
Are you sure you want "ssh-agent -k" in .bash_logout? If you have multiple shells open with the same agent, then the first one you exit will kill the agent for all of them, right?
On October 30, 2016 12:37:59 PM PDT, Rich Shepard <rshepard at appl-ecosys.com> wrote:
>On Sun, 30 Oct 2016, Robert Citek wrote:
>
>> This is what I have near the top of my ~/.profile
>> [ -z "$SSH_AGENT_PID" ] && tty -s && exec ssh-agent bash --login
>
>Thanks, Robert. I knew there was more to invoking ssh-agent. I also
>added
>'ssh-agent -k' to ~/.bash_logout.
>
>> Good luck and let us know what works for you.
>
>One host at a time will get ssh and all its parts running ...
>correctly.
>Then I'll have 2-way communication between desktop and portables.
>
>Much appreciated,
>
>Rich
>_______________________________________________
>PLUG mailing list
>PLUG at lists.pdxlinux.org
>http://lists.pdxlinux.org/mailman/listinfo/plug
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
More information about the PLUG
mailing list