Displaying 1 result from an estimated 1 matches for "tcpfwd".
Did you mean:
cfwd
2007 Aug 03
1
race condition with ControlMaster=auto
...c__, strerror(errno));
+ return 0;
}
umask(old_umask);
@@ -1085,6 +1084,9 @@
fatal("%s listen(): %s", __func__, strerror(errno));
set_nonblock(control_fd);
+
+ debug("control master listening on %s", options.control_path);
+ return 1;
}
/* request pty/x11/agent/tcpfwd/shell for channel */
@@ -1201,7 +1203,9 @@
/* XXX should be pre-session */
ssh_init_forwarding();
- ssh_control_listener();
+ if (!ssh_control_listener(0))
+ fatal("control master socket %s already exists",
+ options.control_path);
if (!no_shell_flag || (datafellows &...