On Fri, Sep 10, 2004 at 05:30:08PM +0200, Arvin Schnell wrote:
>
> Hi,
>
> a co-worker pointed to me that it's not possible to set the path
> of the ssh binary like it's possible with the rsh binary in
> c-client 2004a. Also the path is not set in osdep/unix/Makefile.
>
> Attached is a patch to set ssh-command, ssh-path, and ssh-timeout
> config variables.
And here is the patch.
Stupid me.
ciao Arvin
--- src/osdep/unix/env_unix.c
+++ src/osdep/unix/env_unix.c
@@ -1484,6 +1484,10 @@
mail_parameters (NIL,SET_RSHCOMMAND,(void *) k);
else if (!compare_cstring (s,"set rsh-path"))
mail_parameters (NIL,SET_RSHPATH,(void *) k);
+ else if (!compare_cstring (s,"set ssh-command"))
+ mail_parameters (NIL,SET_SSHCOMMAND,(void *) k);
+ else if (!compare_cstring (s,"set ssh-path"))
+ mail_parameters (NIL,SET_SSHPATH,(void *) k);
else if (!compare_cstring (s,"set tcp-open-timeout"))
mail_parameters (NIL,SET_OPENTIMEOUT,(void *) atol (k));
else if (!compare_cstring (s,"set tcp-read-timeout"))
@@ -1492,6 +1496,8 @@
mail_parameters (NIL,SET_WRITETIMEOUT,(void *) atol (k));
else if (!compare_cstring (s,"set rsh-timeout"))
mail_parameters (NIL,SET_RSHTIMEOUT,(void *) atol (k));
+ else if (!compare_cstring (s,"set ssh-timeout"))
+ mail_parameters (NIL,SET_SSHTIMEOUT,(void *) atol (k));
else if (!compare_cstring (s,"set maximum-login-trials"))
mail_parameters (NIL,SET_MAXLOGINTRIALS,(void *) atol (k));
else if (!compare_cstring (s,"set lookahead"))