bugzilla-daemon at bugzilla.mindrot.org
2007-May-18 06:58 UTC
[Bug 1290] sshd dies if passed host key with relative path on command line
http://bugzilla.mindrot.org/show_bug.cgi?id=1290 --- Comment #3 from Damien Miller <djm at mindrot.org> 2007-05-18 16:58:40 --- Created an attachment (id=1288) --> (http://bugzilla.mindrot.org/attachment.cgi?id=1288) require absolute paths It is pretty easy to fix the specific case of the '-h' option not accepting relative paths, but fixing the more general problem of paths specified on the commandline using -oConfigItem=value or in configuration files is surprisingly tricky because of the way we pass the configuration between the original sshd instance and the re-executed child. Rather than writing a lot of code to fix this edge case, I think it is better that we just make the requirement to use absolute paths explicit and provide error feedback when the daemon is started, not when it tries to accept a connection. -- Configure bugmail: http://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
2007-May-18 07:19 UTC
[Bug 1290] sshd dies if passed host key with relative path on command line
http://bugzilla.mindrot.org/show_bug.cgi?id=1290
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #1288 is|0 |1
obsolete| |
--- Comment #4 from Damien Miller <djm at mindrot.org> 2007-05-18
17:18:56 ---
Created an attachment (id=1289)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=1289)
better patch
Actually, the last patch had two bugs: it broke the AuthorizedKeysFile
directive (which allows paths relative to $HOME) and absolute paths
specified using ~/ or ~user/. This one fixes these problems.
--
Configure bugmail: http://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
2007-May-18 07:25 UTC
[Bug 1290] sshd dies if passed host key with relative path on command line
http://bugzilla.mindrot.org/show_bug.cgi?id=1290
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #1289 is|0 |1
obsolete| |
--- Comment #5 from Damien Miller <djm at mindrot.org> 2007-05-18
17:25:37 ---
Created an attachment (id=1290)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=1290)
Working patch
It helps if one saves the file that one is working on before making a
broken patch and posting it for the world to see...
--
Configure bugmail: http://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
Maybe Matching Threads
- [Bug 1290] sshd dies if passed host key with relative path on command line
- [Bug 1290] sshd dies if passed host key with relative path on command line
- sshd dies if passed host key with relative path on command line
- [Bug 2623] New: AuthorizedKeysFile split pub key and signature with tab `\t` not work.
- [LLVMdev] is structtyp a firstclass typ?