[Bug 2607] New: 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 06:06:01 AEST 2016
    
    
  
https://bugzilla.mindrot.org/show_bug.cgi?id=2607
            Bug ID: 2607
           Summary: accept location off ssh binary via environment
                    variable or deduce it from /proc/
           Product: Portable OpenSSH
           Version: 7.3p1
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: stefan.tomanek-mindrot at wertarbyte.de
Created attachment 2864
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2864&action=edit
use /proc/self/exe or environment variable to launch port forwarding
for ProxyJump
When testing the relatively new JumpHost (-J) functionality, ssh
constructed several command lines to facilitate the port forwarding;
the command line however always starts with "ssh", picking the wrong
binary from $PATH (and not from my development directory). This patch
adds the option to use an environment variable (SSH_CUSTOM_CMD) to
specify the command line to start with; on platforms that support it
(Linux), it can also use /proc/self/exe to identify the ssh binary
currently run and use it to create the port forwarding, avoiding
confusions and possible problems when using different versions of ssh.
github reference:
https://github.com/wertarbyte/openssh-portable/compare/master...proxyjump_custom_cmd
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
    
    
More information about the openssh-bugs
mailing list