kilim at phenix.rootshell.be
Tue Feb 15 16:38:44 GMT 2005
On Tue, Feb 15, 2005 at 04:56:43PM +0100, Lars Kristiansen wrote:
> >> Hello,
> >> I set ssh-agent just fine for a session from a xterm under X.
> >> But what I'd like to have is once I log in to have session start from
> >> my .profile so that when I do "startx" every subsequent xterm
> >> 'inherits' the ssh-agent so that I don't have to type in the password.
> >> Is such a thing do-able ?
> > in ~/.xinit start your windowmanager with something like:
> correction: i have this in the file ~/.xsession , sorry.
> > "/usr/bin/ssh-agent ~/bin/startmywindowmanager"
Thanks Lars !
I'm doing something like this, in my .xinitrc, as I start the X
from the command line using 'startx':
Then in the xterm I just type ssh-add and every consecutive xterm
can use ssh without prompting for the password.
More information about the freebsd-questions