search for: open_command

Displaying 1 result from an estimated 1 matches for "open_command".

2004 Aug 26
2
OpenSSH PATCH: OpenCommand and CloseCommand
...t char *); Index: ssh.c --- openssh-3.8p1.orig/ssh.c (.../.transvn:beginning) (revision 25) +++ openssh-3.8p1/ssh.c (revision 25) @@ -606,6 +606,11 @@ strcmp(options.proxy_command, "none") == 0) options.proxy_command = NULL; + /* Execute open command, if set */ + if (options.open_command != NULL && + strcmp(options.open_command, "none") != 0) + ssh_run_command("open", host, options.port, options.open_command); + /* Open a connection to the remote host. */ if (ssh_connect(host, &hostaddr, options.port, options.address_family, options.co...