[Bug 1899] Cannot disable sftp-server

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu May 5 22:41:36 EST 2011


--- Comment #7 from Damien Miller <djm at mindrot.org> 2011-05-05 22:41:36 EST ---
The lines after the subsystem is refused are:

debug1: server_input_channel_req: channel 0 request exec reply 1
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 req exec

It looks like the client is requesting a command execution session,
i.e. executing sftp-server directly. You client looks like it is PuTTY,
so it might do that implicitly.

sshd is doing what you asked - refusing the subsystem but if you are
going to allow shell access, there are plenty of ways to achieve
exactly the same effect as it.

Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.

More information about the openssh-bugs mailing list