search for: close_command

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

2004 Aug 26
2
OpenSSH PATCH: OpenCommand and CloseCommand
.../* Open a connection to the remote host. */ if (ssh_connect(host, &hostaddr, options.port, options.address_family, options.connection_attempts, @@ -725,6 +730,11 @@ if (proxy_command_pid > 1) kill(proxy_command_pid, SIGHUP); + /* Execute close command, if set */ + if (options.close_command != NULL && + strcmp(options.close_command, "none") != 0) + ssh_run_command("close", host, options.port, options.close_command); + return exit_status; } Index: ssh.0 --- openssh-3.8p1.orig/ssh.0 (.../.transvn:beginning) (revision 25) +++ openssh-3.8p1/ssh.0 (re...