Skip to content

Allow ssh users with backslash#68790

Open
vzhestkov wants to merge 3 commits intosaltstack:masterfrom
vzhestkov:allow-ssh-users-with-backslash
Open

Allow ssh users with backslash#68790
vzhestkov wants to merge 3 commits intosaltstack:masterfrom
vzhestkov:allow-ssh-users-with-backslash

Conversation

@vzhestkov
Copy link
Copy Markdown
Contributor

What does this PR do?

In case of using AD authentication on the client for the users, it's possible to use user@domain with salt-ssh, but the other valid notation domain\user doesn't work as producing broken thin_dir path and user value is passing to ssh the wrong way with improper quoting.

What issues does this PR fix or reference?

Tracks: https://github.com/SUSE/spacewalk/issues/29164

Previous Behavior

salt-ssh was failing with imporper calculation of target directory or either improper passing the username to ssh/scp commands used internally requiring extra quoting for the username (with extra quoting it was working fine to connect to remote system but was failing with directory path calculation)

New Behavior

salt-ssh is able to work properly with DOMAIN\USER notation of the username.

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes/No

@vzhestkov vzhestkov requested a review from a team as a code owner March 11, 2026 10:23
@vzhestkov vzhestkov force-pushed the allow-ssh-users-with-backslash branch from e0a9183 to 7ee0e05 Compare March 20, 2026 08:34
@vzhestkov vzhestkov force-pushed the allow-ssh-users-with-backslash branch from 7ee0e05 to 95f5e8c Compare March 23, 2026 09:13
@vzhestkov vzhestkov force-pushed the allow-ssh-users-with-backslash branch from 95f5e8c to 7230e86 Compare April 2, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant