bugzilla-daemon at bugzilla.mindrot.org
2009-Mar-18 20:52 UTC
[Bug 1574] New: trailing white space on Forced Command within ChrootDirectory causes failure
https://bugzilla.mindrot.org/show_bug.cgi?id=1574
Summary: trailing white space on Forced Command within
ChrootDirectory causes failure
Product: Portable OpenSSH
Version: 5.1p1
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: bburnell at cisco.com
When configuring a Match group or Match user for ChrootDirectory,
trailing white space on Forced Command results in "Connection closed".
Match group download
ChrootDirectory /common/chroot
ForceCommand internal-sftp
^ extra space here
trace ...
debug1: subsystem: exec() internal-sftp
debug1: Forced command (config) 'internal-sftp '
output ...
bburnell at bcodev # sftp sftpadmin at bldr-ccm44
Connecting to bldr-ccm44...
sftpadmin at bldr-ccm44's password:
Connection closed
Match group download
ChrootDirectory /common/chroot
ForceCommand internal-sftp
^ no extra space here
debug1: subsystem: exec() internal-sftp
debug1: Forced command (config) 'internal-sftp'
bburnell at bcodev # sftp sftpadmin at bldr-ccm44
Connecting to bldr-ccm44...
sftpadmin at bldr-ccm44's password:
sftp> Connection to bldr-ccm44 closed by remote host.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2009-Mar-19 03:04 UTC
[Bug 1574] trailing white space on Forced Command within ChrootDirectory causes failure
https://bugzilla.mindrot.org/show_bug.cgi?id=1574
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
--- Comment #1 from Damien Miller <djm at mindrot.org> 2009-03-19
14:04:33 ---
I think that this is fixed in 5.2p1 - could you test this version?
--
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.
bugzilla-daemon at bugzilla.mindrot.org
2009-Dec-07 00:10 UTC
[Bug 1574] trailing white space on Forced Command within ChrootDirectory causes failure
https://bugzilla.mindrot.org/show_bug.cgi?id=1574 --- Comment #2 from Damien Miller <djm at mindrot.org> 2009-12-07 11:10:35 EST --- Closing due to inactivity. This is probably fixed. If not then please reopen. -- 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.
bugzilla-daemon at bugzilla.mindrot.org
2009-Dec-07 00:10 UTC
[Bug 1574] trailing white space on Forced Command within ChrootDirectory causes failure
https://bugzilla.mindrot.org/show_bug.cgi?id=1574
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--
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.
bugzilla-daemon at bugzilla.mindrot.org
2010-Apr-16 05:50 UTC
[Bug 1574] trailing white space on Forced Command within ChrootDirectory causes failure
https://bugzilla.mindrot.org/show_bug.cgi?id=1574
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #3 from Damien Miller <djm at mindrot.org> 2010-04-16 15:50:06
EST ---
Mass move of bugs RESOLVED->CLOSED following the release of
openssh-5.5p1
--
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.
Possibly Parallel Threads
- Questions about ChrootDirectory
- internal-sftp stuck on 'ls' with chrootdirectory
- [Bug 1564] New: non-accessible user's home directory not reported when ChrootDirectory=none
- [Bug 2036] New: Add %g user group name parameter for ChrootDirectory
- sshd_config ChrootDirectory ambiguity...