New Subsystem criteria for Match option block in OpenSSH server

Darren Tucker dtucker at zip.com.au
Wed May 23 14:05:57 EST 2012


On Wed, May 23, 2012 at 05:37:16AM +0200, John Olsson M wrote:
[...]
> My interpretation (as an end user) of the construct shown below is
> that AllowTcpForwarding is not allowed for the SFTP subsystem, that is if
> you connect to the server using the SFTP subsystem. All other connection
> requests for other subsystems would still allow port forwarding.
> 
> Now I do not now how much sense the above makes.

It doesn't make sense.  subsystem requests, port forwarding requests
(and shell session requests for that matter) are all different request
types that may be sent in a single SSH connection.  There's no such
thing "connecting to the server using the sftp subsystem"; you connect
to the SSH server, then request zero or more of session, subsystem or
port forwarding requests an any order you please.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list