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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to