[Bug 3083] Passing tilde (HOME) in file option results in cryptic error

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Oct 22 08:21:28 AEDT 2019


https://bugzilla.mindrot.org/show_bug.cgi?id=3083

--- Comment #3 from Egbert S. <s.egbert at sbcglobal.net> ---
Agreed.  It would have worked if the quoted is narrowed down to like
any of the following:

    ssh-keygen -f ~/../../"My Users"/johndoe/.ssh/known_hosts
    ssh-keygen -f ~/../johndoe/.ssh/"known hosts"
    ssh-keygen -f ~/../"Johnny Be Right"/.ssh/known_hosts

And certainly not the following:

    ssh-keygen -f "~"/.ssh/known_hosts


Got it.  I think I'd be asking for an enhancement to the error message,
something like including the filename in question that mktemp failed
at.

If this is not a worthy goal, then let's close this bug.

-- 
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