bugzilla-daemon at mindrot.org
2007-Jan-29 16:12 UTC
[Bug 1278] CYGWIN controlMaster connections don't work.
http://bugzilla.mindrot.org/show_bug.cgi?id=1278
Summary: CYGWIN controlMaster connections don't work.
Product: Portable OpenSSH
Version: v4.5p1
Platform: ix86
OS/Version: Cygwin on NT/2k
Status: NEW
Severity: normal
Priority: P2
Component: ssh
AssignedTo: bitbucket at mindrot.org
ReportedBy: public.marvin at gmail.com
With this in my .ssh/config:
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.
bugzilla-daemon at mindrot.org
2007-Jan-29 16:15 UTC
[Bug 1278] CYGWIN controlMaster connections don't work.
http://bugzilla.mindrot.org/show_bug.cgi?id=1278 ------- Comment #1 from public.marvin at gmail.com 2007-01-30 03:15 ------- Created an attachment (id=1234) --> (http://bugzilla.mindrot.org/attachment.cgi?id=1234&action=view) -v -v -v log of the initial master during failure ssh -Mnf -v -v -v -S .ssh/foo REMOTE.HOST.NAME sleep 600 2> ssh.log (hostnames and ips removed from log) ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2007-Jan-29 16:17 UTC
[Bug 1278] CYGWIN controlMaster connections don't work.
http://bugzilla.mindrot.org/show_bug.cgi?id=1278 ------- Comment #2 from public.marvin at gmail.com 2007-01-30 03:17 ------- Created an attachment (id=1235) --> (http://bugzilla.mindrot.org/attachment.cgi?id=1235&action=view) log of client connection during failure ssh -v -v -v -S .ssh/foo REMOTE.HOST.NAME 2> sshclient.log (hostnames and ips removed) ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2007-Jan-29 20:06 UTC
[Bug 1278] CYGWIN controlMaster connections don't work.
http://bugzilla.mindrot.org/show_bug.cgi?id=1278 ------- Comment #3 from dtucker at zip.com.au 2007-01-30 07:05 ------- ControlMaster works by passing a file descriptor between unrelated processes via a Unix domain socket, and I don't think that's even possible on Cygwin. ssh should probably return a more specific error message if that's the case. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2007-Jan-29 23:08 UTC
[Bug 1278] CYGWIN controlMaster connections don't work.
http://bugzilla.mindrot.org/show_bug.cgi?id=1278 ------- Comment #4 from marvinpublic at comcast.net 2007-01-30 10:08 ------- I am not at all a cygwin expert, but it seems from googling that there is support for unix domain sockets: see http://comments.gmane.org/gmane.os.cygwin/1046, for example. I'll see if I can put together a python testcase demonstrating cygwin unix domain sockets work. Note that in the example I wsa running I did see ssh -M creating "something" in the file system. Here's what happens when I do ssh -M -S /tmp/foo3 some.hostname... ls -l /tmp srw------- 1 mgreenberg None 53 Jan 29 18:05 foo3 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2007-Jan-29 23:55 UTC
[Bug 1278] CYGWIN controlMaster connections don't work.
http://bugzilla.mindrot.org/show_bug.cgi?id=1278 ------- Comment #5 from dtucker at zip.com.au 2007-01-30 10:55 ------- (In reply to comment #4)> I am not at all a cygwin expert, but it seems from googling that there > is support for unix domain sockets: [...]It's not Unix domain sockets that's the problem but *descriptor passing over Unix domain sockets*. I found the reference I was thinking of from Corinna (who most definitely is a Cygwin expert :-) here: http://marc.theaimsgroup.com/?l=openssh-unix-dev&m=108357562706575 The fact that Cygwin in general works as well as it does makes it easy to forget that the underlying OS is actually quite difference. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2007-Jan-30 02:32 UTC
[Bug 1278] CYGWIN controlMaster connections don't work.
http://bugzilla.mindrot.org/show_bug.cgi?id=1278 ------- Comment #6 from marvinpublic at comcast.net 2007-01-30 13:32 ------- so sad. I was really looking forward to this feature... ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
Seemingly Similar Threads
- [Bug 1278] CYGWIN controlMaster connections don't work.
- [Bug 1278] CYGWIN controlMaster connections don't work.
- [Bug 1278] CYGWIN controlMaster connections don't work.
- [Bug 1278] CYGWIN controlMaster connections don't work.
- [Bug 1278] CYGWIN controlMaster connections don't work.