SSH-agent setting

Lars Kristiansen lars at
Tue Feb 15 15:39:21 GMT 2005

> 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:
"/usr/bin/ssh-agent   ~/bin/startmywindowmanager"

if you are using xdm, some applications in ports can help you with
providing a password-dialog, among others "ssh_askpass_gtk2".

Hilsen Lars

> Thank you
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list