Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SshCommand: Only force username when requested #63

Merged
merged 1 commit into from
Jul 25, 2023

Commits on Jul 25, 2023

  1. SshCommand: Only force username when requested

    This removes the use of the result of `whoami` in determining the SSH
    user to run the command as. This means a provided username will be
    respected, follow by a config-defined `User`, in that order.
    
    This fixes SshCommand ignoring the config-defined `User` and prevents
    the use of `whoami` on Windows, which would return a `machine\user`
    format instead of just `user` (the default when no explicit username
    is provided when running the built-in OpenSSH client).
    ChlodAlejandro committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    22a3137 View commit details
    Browse the repository at this point in the history