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

As of v2.3.5, pssh converts all SSH host aliases to lowercase, making it unable to connect #138

Closed
dv8472 opened this issue Jun 9, 2023 · 0 comments

Comments

@dv8472
Copy link

dv8472 commented Jun 9, 2023

Prior to update from 2.3.1 to 2.3.5, I could use SSH host aliases (with uppercase chars in name) stored in my ~/.ssh/config file.

Host            MyServer1
Hostname        1.2.3.4

Host            MyServer2
Hostname        5.6.7.8

and it worked just fine with pssh -i -H "MyServer1 MyServer2" hostname.

As of ver. 2.3.5, it's automatically converting all uppercases to lowercases, making it unable to connect.

[1] 10:58:20 [FAILURE] myserver1 Exited with error code 255
Stderr: ssh: Could not resolve hostname myserver1: Name or service not known
[2] 10:58:20 [FAILURE] myserver2 Exited with error code 255
Stderr: ssh: Could not resolve hostname myserver2: Name or service not known

However, if I change the SSH host alias in the ~/.ssh/config to lowercase too, it works again.
But I do not want to convert everything I have to lowercases.

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

No branches or pull requests

1 participant