Re: [PLUG] Invoking ssh-agent in Slackware

2016-10-31 Thread Rich Shepard
On Mon, 31 Oct 2016, King Beowulf wrote: > http://www.linuxquestions.org/questions/slackware-14/how-to-properly-set-gpg-agent-in-slackware-14-1-a-4175560666/ Ah, specific to gnupg. Rich ___ PLUG mailing list PLUG@lists.pdxlinux.org

Re: [PLUG] Invoking ssh-agent in Slackware

2016-10-31 Thread Rich Shepard
On Mon, 31 Oct 2016, King Beowulf wrote: > If you haven't already, take a gander at > > http://www.linuxquestions.org/questions/slackware-14/how-to-properly-set-gpg-agent-in-slackware-14-1-a-4175560666/ > > Although for 14.1 it is still applicable to 14.2. Thanks, Ed. My web searches did not

Re: [PLUG] Invoking ssh-agent in Slackware

2016-10-31 Thread Rich Shepard
On Mon, 31 Oct 2016, Steve Dum wrote: > If you are using gnome, Steve, Nope. Don't do Gnome or KDE. > If you do a lot of access to different systems, ... Only connect to the server from one of my portables when I'm away, or use ssh to transfer files among these hosts while in the

Re: [PLUG] Invoking ssh-agent in Slackware

2016-10-31 Thread King Beowulf
On 10/30/2016 11:27 AM, Rich Shepard wrote: >My web searches fail to find explicit instructions for invoking ssh-agent > when a system is booted. My inclination is to add a line to > /etc/rc.d/rc.local: > > /usr/bin/ssh-agent > >I could place it in a test for the file's existence, but I

Re: [PLUG] Invoking ssh-agent in Slackware

2016-10-31 Thread Steve Dum
Rich, If you are using gnome, part of it's startup includes creating a ssh-agent for you, and the first time you try to ssh elsewhere it prompts you to unlock the agent. There is a program out there called keychain (search for 'linux keychain ssh-agent') which wouks well in non gnome

Re: [PLUG] Invoking ssh-agent in Slackware

2016-10-30 Thread Rich Shepard
On Sun, 30 Oct 2016, David wrote: > DESCRIPTION > ssh-add adds private key identities to the authentication agent, > ssh-agent(1). When run without arguments, it adds the files > ~/.ssh/id_rsa, ~/.ssh/id_dsa, ~/.ssh/id_ecdsa, ~/.ssh/id_ed25519 > and ~/.ssh/identity. Yep.

Re: [PLUG] Invoking ssh-agent in Slackware

2016-10-30 Thread Rich Shepard
On Sun, 30 Oct 2016, Don Buchholz wrote: > 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? Don, I have 4 terminals open in Xfce4. When I log out they're

Re: [PLUG] Invoking ssh-agent in Slackware

2016-10-30 Thread Don Buchholz
Does "env | grep -i ssh" show the two environment variables (IIRC, one is for PID, the other points to a socket) ssh-add will need to communicate with the agent? On October 30, 2016 3:24:25 PM PDT, Rich Shepard wrote: >On Sun, 30 Oct 2016, Russell Senior wrote: > >>

Re: [PLUG] Invoking ssh-agent in Slackware

2016-10-30 Thread Don Buchholz
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 wrote: >On Sun, 30 Oct 2016, Robert

Re: [PLUG] Invoking ssh-agent in Slackware

2016-10-30 Thread David
On 10/30/2016 12:57 PM, Rich Shepard wrote: > On Sun, 30 Oct 2016, Robert Citek wrote: > >> Good luck and let us know what works for you. > >Still seeking this goal. :-) > >After modifying ~/.bash_profile to invoke ssh-agent I sourced the file, > then tried ssh-add which did not work: > >

Re: [PLUG] Invoking ssh-agent in Slackware

2016-10-30 Thread Rich Shepard
On Sun, 30 Oct 2016, Russell Senior wrote: > My wild guess would be you typed the wrong passphrase. My first thought, too. But, I created the passphrase again, typing carefully, and even when typing it one finger at a time for ssh-add it kept refusing it. Rich

Re: [PLUG] Invoking ssh-agent in Slackware

2016-10-30 Thread Rich Shepard
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

Re: [PLUG] Invoking ssh-agent in Slackware

2016-10-30 Thread Rich Shepard
On Sun, 30 Oct 2016, Rich Shepard wrote: > My inclination is to add a line to etc/rc.d/rc.local: Oops! Re-reading man ssh-agent tells me it belongs in ~/.bash_profile Rich ___ PLUG mailing list PLUG@lists.pdxlinux.org