Hi all, I am having trouble connecting to a particular machine that has a hyphen in the hostname. The connection works from a CrosVM instance on the same Chromebook, so I think it's a SecureShell issue rather than an SSH issue per se.
Some names edited for privacy
I have a machine called
projectname-lab.internal.domain.com
when I try to ssh using the extension, I get:
Welcome to Secure Shell version 0.68
...removed for brevity....Looking up relay server using:
ssh-relay.corp.company.com:443Found relay server:
https://sup-ssh-relay.corp.company.com:443/Checking SSH certificate freshness... ~19 hours until expiration
Loading wasm program... «««This is in beta -- see
https://issuetracker.google.com/40220462 for KIs»»» done.
Connecting to nhe...@project-lab.internal.domain.com...
project-lab.internal.domain.com: unrecognized option: -
usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface]
[-b bind_address] [-c cipher_spec] [-D [bind_address:]port]
[-E log_file] [-e escape_char] [-F configfile] [-I pkcs11]
[-i identity_file] [-J [user@]host[:port]] [-L address]
[-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
[-Q query_option] [-R address] [-S ctl_path] [-W host:port]
[-w local_tun[:remote_tun]] destination [command [argument ...]]
The line highlighted in red makes me think the hyphen is being interpreted incorrectly.
I did try the usual escape options of \- or quoting the hostname, but neither worked.
Thanks!
--Neil.