I am normally using tcsh. From <<If a commandline is given, this is executed as a subprocess of the agent. When the command dies, so does the agent.>> I understand that my shell needs to be a child of ssh-agent. I tried "ssh-agent -c tcsh" which didn't work. An example here would be great. I understand, that in the bsh it is "eval `ssh-agent -s`" it would be great to add this as an example for not so shell-experienced persons like me ;) and the equivalent for *csh*. Thanks.
do you have a patch for the manpage?
Created attachment 216 [details] man.cgi.html patch Markus, as per your request. r.
Created attachment 231 [details] enhanced patch for ssh-agent's man.cgi.html now covers (corrected) eval statements and -t passwd as per http://bugzilla.mindrot.org/show_bug.cgi?id=496
please don't send patches for the html page, use the troff source instead.
Sure, where could I easiest get it? http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/ssh-agent/ wasn't it, http://www.openbsd.org/cgi-bin/cvsweb/www/openssh/ didn't look like it either, http://www.openbsd.org/cgi-bin/cvsweb/src/share/man/man1 neither...
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/ssh-agent.1
Created attachment 635 [details] Import examples into nroff source.
This has been fixed, thanks. The text now reads: There are two main ways to get an agent set up: The first is that the agent starts a new subcommand into which some environment variables are exported, eg ssh-agent xterm &. The second is that the agent prints the needed shell commands (either sh(1) or csh(1) syntax can be generated) which can be evalled in the calling shell, eg eval `ssh-agent -s` for Bourne-type shells such as sh(1) or ksh(1) and eval `ssh-agent -c` for csh(1) and derivatives.