[Bug 2607] accept location off ssh binary via environment variable or deduce it from /proc/
    bugzilla-daemon at bugzilla.mindrot.org 
    bugzilla-daemon at bugzilla.mindrot.org
       
    Tue Aug 23 16:16:47 AEST 2016
    
    
  
https://bugzilla.mindrot.org/show_bug.cgi?id=2607
--- Comment #3 from Darren Tucker <dtucker at zip.com.au> ---
(In reply to Bert Wesarg from comment #2)
> I missed the initial discussion about -J, but why not using av[0]?
That's a better idea.  It doesn't cover all cases, but it might cover
enough.  The cases I can think of are:
1) full path: currently will exhibit the described behaviour, using
argv[0] would fix it.
2) relative path: ditto, assuming ssh(1) doesn't chdir, which I don't
think it does.
3) no path, $PATH set and exported.  should work.
4) no path, $PATH set but not exported.  could potentially pick up a
different ssh.
-- 
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