[Bug 1290] sshd dies if passed host key with relative path on command line

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri May 18 16:58:45 EST 2007


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.


More information about the openssh-bugs mailing list