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

hostname contains invalid characters #60

Open
sabbath88 opened this issue Jan 14, 2024 · 5 comments
Open

hostname contains invalid characters #60

sabbath88 opened this issue Jan 14, 2024 · 5 comments

Comments

@sabbath88
Copy link

Hi,
Ubuntu 22.04.3 LTS
sshs version 3.4.0

Since few weeks I am getting "hostname contains invalid characters" error when trying connect to hostnames that contain spaces in name. It was working before perfectly.

Launching:
sshs -c ~/sshs_config

non working example:
Host "my Lab"
HostName 192.168.1.2
User root
Port 22

working example:
Host "MyLab"
HostName 192.168.1.3
User root
Port 22

@Hexcah
Copy link

Hexcah commented Feb 12, 2024

Same problem on 3.3.0-1-gdca8a21 and 3.4.0

@quantumsheep
Copy link
Owner

Hey! That should not be a problem anymore in 4.0.0

@franksl
Copy link

franksl commented Aug 27, 2024

Hi,
I have this exact problem in version 4.5.1, the only thing that's different is that I launch sshs without arguments,
Frank

@sabbath88
Copy link
Author

sabbath88 commented Oct 7, 2024

Hi @quantumsheep, thx again for a great piece of software. I proudly use it everyday.

Situation happened to me again when I was trying to update to 4.5.1.
I was using method with cloning repo and cargo build like;
git clone https://github.com/quantumsheep/sshs.git
cd src/ssh_config
cargo build --release
sudo cp sshs /usr/local/bin/sshs

then "hostname contains invalid characters" error appeared again.
in another try I just downloaded sshs-linux-amd64 which is working fine.

@quantumsheep quantumsheep reopened this Oct 8, 2024
@quantumsheep
Copy link
Owner

Hey! Noted. I will try to troubleshoot the issue when I have some time

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

4 participants