-
-
Save amigus/7aa8dc42eccb4036221294a02cb7f2af to your computer and use it in GitHub Desktop.
PowerShell on Linux hack to allow SSH to 'exec' itself when using `ProxyJump`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # PowerShell on Linux hack to allow SSH to "exec" itself when using `ProxyJump` | |
| # It must be in the path and named `exec` to work | |
| case "$(basename $0)" in exec) $* ;; *) exec $* ;; esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment