Chittaranjan Mandal, on December 22. 2000, wrote:
:
: The man page suggests starting ssh-agent2 so that all other windows and
: shells should be child processes of ssh-agent2.
: I don't seem to be able to do that.
: All windows and also ssh-agent2 somehow become children of fvwm2, as
: shown below.
: Any solution to this problem?
FAQ:
--snip--
Q: How can I log into remote host xxx from host yyy without supplying
a password/passphrase?
A: Use ssh-agent. You can also use null-passphrases, however this is
NOT RECOMMENDED. You can setup ssh-agent in the following way (Note
that these depend on your shell and X-config), for example:
In file $HOME/.xsession (or equivalent) add the following line (and
move the rest of the relevant stuff to .xsession.real):
exec ssh-agent2 ./.xsession.real
In file $HOME/.xsession.real do the real stuff (like spawning
xterms, etc.) and add keys to the agent like this:
ssh-add2 $HOME/.ssh2/id_dsa_1024_a </dev/null > /dev/null 2>&1
--snap--
Also, in .xsession.real (not before), you should execute the window
manager.
Cheers,
--
[[EMAIL PROTECTED] -- Sami J. Lehtinen -- [EMAIL PROTECTED]]
[work:+358 9 85657425][gsm:+358 50 5170 258][http://www.iki.fi/~sjl]
[SSH Communications Security Corp http://www.ssh.com/]