[Bug 2791] New: Match host exec doesn't resolve SHELL in the PATH

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Oct 6 20:45:23 AEDT 2017


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

            Bug ID: 2791
           Summary: Match host exec doesn't resolve SHELL in the PATH
           Product: Portable OpenSSH
           Version: 7.2p2
          Hardware: amd64
                OS: Mac OS X
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: berdario at google.com

If you have something like

  Match host *.example.com exec /usr/bin/true
    ProxyCommand /usr/local/bin/ssh-helper %h %p

in your ssh config, and your SHELL contains the name of the shell
executable (and not its path), connection will fail with:

Unable to execute '/usr/bin/true': No such file or directory
command '/usr/bin/true' exited abnormally
/etc/ssh_config line 46: match exec '/usr/bin/true' error

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list