[olug] keychain work for anyone?
ktb
xyf at nixnotes.org
Thu Feb 20 00:20:06 UTC 2003
On Wed, Feb 19, 2003 at 09:33:37AM -0600, Brian Wiese wrote:
> 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?
>
I throw the only the following in my ~.bash_profile to source everything
from ~.bashrc, so no matter how I log in I have the same environment -
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
More information about the OLUG
mailing list