LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-27-2003, 11:34 PM   #1
PhilD
Member
 
Registered: Mar 2003
Location: Iowa, US
Distribution: Gentoo!!, Mandrake 9.1
Posts: 170

Rep: Reputation: 30
Help with ssh-agent - global environment


Hello all,

I am trying to configure ssh-agent at login and am having some problems. What I would like to do is have it so when I use ssh-add, the user added is valid from any term/bash session. More directly, I would like to have a launcher button on GkrellM execute a program on another box.

The problem I am having is getting the agent global. I tried adding it to my /etc/rc.d/rc.local. This caused bash some problems and gave me a no job something or other and a bash prompt on boot up. I then tried adding it to my .bashrc file. This did some bad things. I ended up in an endless loop when I tried to log in creating hundreds of ssh-agent threads and /bin/bash threads.

What I tried to add is: ssh-agent $SHELL. This may be wrong. Could someone please tell me what I need to do to get the agent global so I don't have to ssh from the same term window each time.

Thanks!!

PhilD
 
Old 07-07-2003, 11:48 AM   #2
PhilD
Member
 
Registered: Mar 2003
Location: Iowa, US
Distribution: Gentoo!!, Mandrake 9.1
Posts: 170

Original Poster
Rep: Reputation: 30
For anyone searching for something similar, the solution was the little script 'keychain' it works wonderfully and will even prompt for passphrases on user login. Check it out if you need something similar!

www.gentoo.org/proj/en/keychain.xml


PhilD
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
ssh-agent/ssh-add question mega Slackware 2 01-26-2005 03:09 AM
ssh-agent alaios Linux - Security 5 05-02-2004 11:24 AM
ssh-agent podollb Linux - Networking 15 10-16-2003 12:51 AM
Getting ssh-agent to work.. Sonny Linux - Security 16 01-25-2002 06:57 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration