Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
base repository: wertarbyte/openssh-portable
base: master
Choose a base ref
head repository: wertarbyte/openssh-portable
compare: proxyjump_custom_cmd
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Aug 22, 2016

  1. add environment variable SSH_CUSTOM_CMD for ProxyJump

    This change makes the ProxyJump functionality read the environment variable
    SSH_CUSTOM_CMD to construct the proxy command line; this makes it possible to
    specify the path to a custom ssh binary as well as add extra flags. Even if the
    variable is unspecified or empty, the ssh binary used to establish the
    conection is not necessarily the one found first in $PATH; this patch uses the
    file /proc/self/exe available on many platforms to identify the binary of the
    already running process to launch a ProxyJump forwarding.
    
    If these two approaches fail, it falls back to the existing behaviour of just
    assuming "ssh" as command.
    wertarbyte committed Aug 22, 2016