--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: ssh: Virtual servers
- From: "Ph. Marek" <philipp.marek@linbit.com>
- Date: Thu, 26 Apr 2012 08:46:35 +0200
- Message-id: <20120426064635.21894.71948.reportbug@cacao.linbit>
Package: ssh
Version: 1:5.9p1-5
Severity: wishlist
Tags: patch
Hello everybody,
I'd like to get SSH provide some virtual server feature.
Eg. when connecting to an existing server on a different port I'd like to
chroot all users to some directory.
This can currently be done by starting sshd twice, with different config
files (or perhaps command line options); but getting that "right" for all
circumstances (init.d, upstart, systemd, ...) is hard.
I asked on openssh-unix-dev, and they said that there's a patch already
available:
http://lists.mindrot.org/pipermail/openssh-unix-dev/2012-April/030399.html
Please integrate that into the debian packages, thank you so much.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ssh depends on:
ii openssh-client 1:5.9p1-5
ii openssh-server 1:5.9p1-5
ssh recommends no packages.
ssh suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
- To: Simon Deziel <simon@sdeziel.info>
- Cc: "Ph. Marek" <philipp.marek@linbit.com>, 670491-done@bugs.debian.org
- Subject: Re: Re: Bug#670491: ssh: Virtual servers
- From: Colin Watson <cjwatson@debian.org>
- Date: Mon, 1 Dec 2025 10:24:32 +0000
- Message-id: <aS1s4Dol9sOwNBj7@riva.ucam.org>
- In-reply-to: <5334566A.6050905@sdeziel.info>
- References: <20120426064635.21894.71948.reportbug@cacao.linbit> <20120426082739.GA7453@riva.dynamic.greenend.org.uk> <5334566A.6050905@sdeziel.info>
Source: openssh
Source-Version: 1:6.1p1-1
On Thu, Mar 27, 2014 at 12:48:42PM -0400, Simon Deziel wrote:
On 12-04-26 04:27 AM, Colin Watson wrote:
On Thu, Apr 26, 2012 at 08:46:35AM +0200, Ph. Marek wrote:
I asked on openssh-unix-dev, and they said that there's a patch already
available:
http://lists.mindrot.org/pipermail/openssh-unix-dev/2012-April/030399.html
Please integrate that into the debian packages, thank you so much.
This patch makes configuration changes; I won't add any more such
patches to the Debian package until they've actually been committed
upstream, not merely discussed on the upstream mailing list. Darren has
upstream commit access, so if he's confident in that patch he's entirely
capable of committing it.
I believe this bug can be closed as the patch made it into version 6.1:
http://www.openssh.com/txt/release-6.1 :
* sshd(8): The Match directive now supports matching on the local
(listen) address and port upon which the incoming connection
was received via LocalAddress and LocalPort clauses.
Indeed, and sorry for overlooking this for such a long time.
Thanks,
--
Colin Watson (he/him) [cjwatson@debian.org]
--- End Message ---