hostname contains invalid characters
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
Same problem on 3.3.0-1-gdca8a21 and 3.4.0
Hey! That should not be a problem anymore in 4.0.0
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
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.
Hey! Noted. I will try to troubleshoot the issue when I have some time
Same problem. Any news about the fix?
Dowloaded 4.7.2 on ubuntu linux direclty from GitHub. Installed via apt and created a manual ssh config file with
Host "My Host" HostName xx.xx.xx.xx (an internal IP)
Still getting "hostname contains invalid characters"
Hi! So digging a bit, ssh doesn't support spaces in hostname :(
You can test it with ssh "My Host".
Actually that is not the issue here, since the "Host" was already between "". The problem is with the hostname, witch in my case is an IP (so non spaces and a legit hostname for ssh). I suspect the problem is elsewere, possibly in the inferface between ssh and sshs.
Hello @quantumsheep, any news. Have you managed to reproduce this problem?
Same error here, would love to see this one fixed! Going crazy with this error... Thanks!