[Bug 1259939] Re: ssh -g has no effect if master socket already open

2014-12-20 Thread Bug Watch Updater
** Changed in: openssh (Debian)
   Status: Confirmed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1259939

Title:
  ssh -g has no effect if master socket already open

To manage notifications about this bug go to:
https://bugs.launchpad.net/openssh/+bug/1259939/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1259939] Re: ssh -g has no effect if master socket already open

2013-12-11 Thread Ken Sharp
Same in Trusty and Debian Testing.

** Tags added: amd64 trusty

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1259939

Title:
  ssh -g has no effect if master socket already open

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1259939/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1259939] Re: ssh -g has no effect if master socket already open

2013-12-11 Thread Ken Sharp
** Bug watch added: Debian Bug tracker #731950
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731950

** Also affects: openssh (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731950
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1259939

Title:
  ssh -g has no effect if master socket already open

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1259939/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1259939] Re: ssh -g has no effect if master socket already open

2013-12-11 Thread Ken Sharp
** Bug watch added: OpenSSH Portable Bugzilla #2183
   https://bugzilla.mindrot.org/show_bug.cgi?id=2183

** Also affects: openssh via
   https://bugzilla.mindrot.org/show_bug.cgi?id=2183
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1259939

Title:
  ssh -g has no effect if master socket already open

To manage notifications about this bug go to:
https://bugs.launchpad.net/openssh/+bug/1259939/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1259939] Re: ssh -g has no effect if master socket already open

2013-12-11 Thread Bug Watch Updater
** Changed in: openssh (Debian)
   Status: Unknown = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1259939

Title:
  ssh -g has no effect if master socket already open

To manage notifications about this bug go to:
https://bugs.launchpad.net/openssh/+bug/1259939/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1259939] Re: ssh -g has no effect if master socket already open

2013-12-11 Thread Bug Watch Updater
Launchpad has imported 1 comments from the remote bug at
https://bugzilla.mindrot.org/show_bug.cgi?id=2183.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2013-12-11T15:36:36+00:00 Imwellcushtymelike wrote:

From the man page:
 -g  Allows remote hosts to connect to local forwarded ports.

When working with a control socket, this works fine if -g is included
with the initial connect attempt, for example:

$ cat ~/.ssh/config
Host *
ControlMaster   auto
ControlPath ~/.ssh/%r@%h:%p

$ ssh -gTfNL 12345:localhost:12345 host
$ netstat -tln

tcp0  0 0.0.0.0:12345 0.0.0.0:*
LISTEN  -

$ lsof -n

ssh   182446user3u IPv4   76397177   0t0  
TCP 192.168.0.9:51181-192.168.0.15:ssh (ESTABLISHED)
ssh   182446user4u IPv4   76397181   0t0  
TCP *:3128 (LISTEN)
ssh   182446user5u IPv6   76397182   0t0  
TCP *:3128 (LISTEN)

and similarly:

$ ssh -g host
user@host:~$ exit
$ ssh -gTfNL 12345:localhost:12345 host
$ netstat -tln

tcp0  0 0.0.0.0:12345 0.0.0.0:*
LISTEN  -

However, if it isn't then -g is ignored on subsequent attempts to
forward ports:

$ ssh host
user@host:~$ exit
$ ssh -g -L 12345:localhost:12345 host
$ netstat -tln

tcp0  0 127.0.0.1:12345 0.0.0.0:*
LISTEN  -

$ lsof -n

ssh   182399user3u IPv4   76390396   0t0  
TCP 192.168.0.9:51178-192.168.0.15:ssh (ESTABLISHED)
ssh   182399user4u unix 0x   0t0 
76390976 /home/user/.ssh/user@host
ssh   182399user6u IPv6   76392394   0t0  
TCP [::1]:3128 (LISTEN)
ssh   182399user7u IPv4   76392395   0t0  
TCP 127.0.0.1:3128 (LISTEN)

This doesn't really make sense: ssh should still be capable of binding
to the correct address as requested.

From:
https://bugs.launchpad.net/debian/+source/openssh/+bug/1259939
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731950

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1259939/comments/2


** Changed in: openssh
   Status: Unknown = Confirmed

** Changed in: openssh
   Importance: Unknown = Low

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1259939

Title:
  ssh -g has no effect if master socket already open

To manage notifications about this bug go to:
https://bugs.launchpad.net/openssh/+bug/1259939/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1259939] Re: ssh -g has no effect if master socket already open

2013-12-11 Thread Serge Hallyn
** Changed in: openssh (Ubuntu)
   Importance: Undecided = Low

** Changed in: openssh (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1259939

Title:
  ssh -g has no effect if master socket already open

To manage notifications about this bug go to:
https://bugs.launchpad.net/openssh/+bug/1259939/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs