Displaying 7 results from an estimated 7 matches for "control_client".
2005 Jun 12
2
%h,%p,%u expansion for ControlPath
...r, strlen(options.user));
+ cp++;
+ continue;
+ }
+ buffer_append(&path, cp, 1);
+ }
+ buffer_append(&path, "\0", 1);
+ options.control_path = xstrdup(buffer_ptr(&path));
+ }
}
if (options.control_path != NULL && options.control_master == 0)
control_client(options.control_path); /* This doesn't return */
--- openssh-4.1p1/sshconnect.c~ 2005-03-14 12:08:12.000000000 +0000
+++ openssh-4.1p1/sshconnect.c 2005-06-12 09:36:33.000000000 +0100
@@ -308,18 +308,9 @@ ssh_connect(const char *host, struct soc
int sock = -1, attempt;
char ntop[NI_MAXHOST]...
2005 Jun 23
0
ControlPersist.
...fork: %.100s", strerror(errno));
+ /* Just exit */
+ session_closed = 1;
+ return;
+ }
+ if (pid != 0) {
+ /* We are the parent. Exit, leaving the child to continue serving */
+ exit(exit_status);
+ }
+ session_ident = -1;
+ /* We _must_ lose our controlling tty, else subsequent control_client
+ invocations from the same tty will cause us to get -EIO when reading
+ from the tty */
+ setsid();
+ return;
+ }
+ session_closed = 1;
}
/*
--- openssh/readconf.c~ 2005-06-16 04:19:42.000000000 +0100
+++ openssh/readconf.c 2005-06-23 11:05:11.000000000 +0100
@@ -106,7 +106,7 @@ type...
2005 Sep 05
0
Clean up dead control sockets.
...from being
able to connect. It'll try to use the socket, fail, then connect for
itself... but will then abort when it can't create its own socket.
--- openssh-4.2p1/ssh.c~ 2005-09-05 09:49:31.000000000 +0100
+++ openssh-4.2p1/ssh.c 2005-09-05 09:56:34.000000000 +0100
@@ -1247,7 +1247,11 @@ control_client(const char *path)
}
if (errno == ENOENT)
debug("Control socket \"%.100s\" does not exist", path);
- else {
+ else if (errno == ECONNREFUSED) {
+ debug("Control socket connect(%.100s): %s", path,
+ strerror(errno));
+ unlink(path);
+ } else {...
2004 Aug 25
3
[Bug 920] Enable client multiplexing to fall back to enhance transparency
http://bugzilla.mindrot.org/show_bug.cgi?id=920
Summary: Enable client multiplexing to fall back to enhance
transparency
Product: Portable OpenSSH
Version: -current
Platform: All
OS/Version: OpenBSD
Status: NEW
Severity: enhancement
Priority: P2
Component: ssh
AssignedTo:
2007 Jan 29
6
[Bug 1278] CYGWIN controlMaster connections don't work.
...ControlMaster auto
ControlPath ~/.ssh/master-%r@%h-%p
I do (in one shell)
ssh -Mnf REMOTE.HOST.NAME sleep 600
<enter password>
In other shell
ssh REMOTE.HOST.NAME
Master says:
mm_receive_fd: no message header
- - and exits
"Slave" says:
ssh_msg_recv: read: header
control_client: msg_recv
- - and exits
Tried various permutations with -M, -S and nothing in config file,
yield
same result.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
2007 Aug 15
9
OpenSSH 4.7: call for testing.
Hi All.
OpenSSH 4.7 is preparing for release so we are asking for any interested
folks to please test a snapshot. The main changes are:
* sshd(8) in new installations defaults to SSH Protocol 2 only.
Existing installations are unchanged.
* The SSH channel window size has been increased, which improves
performance on high-BDP networks.
* ssh(1) and sshd(8) now preserve MAC
2007 Jul 05
36
[Bug 1330] New: RFE: 'ControlPersist' support -- automatically fork and leave ControlMaster behind as a dæmon
http://bugzilla.mindrot.org/show_bug.cgi?id=1330
Summary: RFE: 'ControlPersist' support -- automatically fork and
leave ControlMaster behind as a d?mon
Product: Portable OpenSSH
Version: 4.6p1
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: