[olug] keychain work for anyone?
Brian Wiese
bwiese at cotse.com
Wed Feb 19 15:33:37 UTC 2003
hahaha, kewl. thanks. My format is slightly different though.
bwiese at franklin:~$ source ~/.ssh-agent-franklin
bwiese at franklin:~$ ssh liberty
Last login: Tue Feb 18 22:42:30 2003 from franklin.private
Have a lot of fun...
bwiese at liberty:~>
... but ...
I do have this in my ~/.bash_profile ...
/usr/bin/keychain -q ~/.ssh/id_rsa
source ~/.ssh-agent-franklin > /dev/null
This works when I log in on a tty (F1-F6), but not when I open new
xterm/konsole windows while in X. Is there another 'login script' file
that I could put this code in to work everytime I open a new xterm... or
do I just have to restart X?
peace
On Wed, 19 Feb 2003 07:26:50 -0600
David Walker <linux_user at grax.com> wrote:
|It works great for me. I find it to be rather awesome.
|I put a file containing the following in /etc/profile.d/keychain.sh
|so it starts whenever I log in or open a new shell.
|
|if [ "$PS1" ]; then
| keychain ~/.ssh/id_dsa
| . ~/.keychain/${HOSTNAME}-sh
|fi
|
|Looks like you needed the second command to make it all work.
|
|On Tuesday 18 February 2003 10:26 pm, Brian Wiese wrote:
|> So I'm running keychain, but it's not working - doesn't do anything for
|> me. Does it work for anyone else? To my understanding, when keychain
|> is run - it asks for your passphrase to your private ssh keys, and will
|> keep you authenticated as it negotiate future ssh sessions for you that
|> ask for you to authenticate via said public keys.
More information about the OLUG
mailing list