search for: ssh_control_listen

Displaying 4 results from an estimated 4 matches for "ssh_control_listen".

Did you mean: ssh_control_listener
2007 Aug 03
1
race condition with ControlMaster=auto
...//dotat.at/ IRISH SEA: SOUTHERLY, BACKING NORTHEASTERLY FOR A TIME, 3 OR 4. SLIGHT OR MODERATE. SHOWERS. MODERATE OR GOOD, OCCASIONALLY POOR. -------------- next part -------------- --- ssh.c~ Fri Jan 5 05:30:17 2007 +++ ssh.c Fri Aug 3 19:21:18 2007 @@ -1045,18 +1045,19 @@ } } -static void -ssh_control_listener(void) +static int +ssh_control_listener(int test) { struct sockaddr_un addr; mode_t old_umask; int addr_len; if (options.control_path == NULL || - options.control_master == SSHCTL_MASTER_NO) - return; + options.control_master == SSHCTL_MASTER_NO || + control_fd != -1) + r...
2007 Aug 04
13
[Bug 1349] New: race condition with ControlMaster=auto
http://bugzilla.mindrot.org/show_bug.cgi?id=1349 Summary: race condition with ControlMaster=auto Product: Portable OpenSSH Version: 4.6p1 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: ssh AssignedTo: bitbucket at mindrot.org ReportedBy: dot at dotat.at
2006 Jan 16
1
LocalCommand problem for tunneling on Linux
I've been testing tunneling on Linux with openssh-SNAP-20060116.tar.gz and found a problem. When I use LocalCommand for doing ifconfig stuff, the command line was executed before a tunneling interface is opened. This causes errors on Linux and the interface is not automatically set up. This is not a problem on *BSD because you can do ifconfig for unopened tun/tap interfaces. But in Linux,
2008 Feb 21
0
LocalCommand and control master/sshfs
...couple cases where it would be nice to use LocalCommand to run something to setup a session in some way when using ControlMaster. For example, to scp something or do an sshfs mount automatically once your session is established using the control socket. However, in 4.7, LocalCommand is run before ssh_control_listener. It's not terribly hard to work around (fork and sleep first in the command), but is there some reason these couldn't be swapped? (I see some discussion about LocalCommand and tunneling from last year which wanted to move it earlier, but it doesn't seem this was done.) :-Dylan