https://bugzilla.mindrot.org/show_bug.cgi?id=3308

Darren Tucker <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Darren Tucker <[email protected]> ---
(In reply to loic.did from comment #0)
[...]
> "ssh [email protected]:22" doesn't :
> "ssh: Could not resolve hostname vps-1060b8b0.vps.ovh.net:22"

Why do you think that should work?  It's not a valid DNS name and
ssh(1) does not list it as a supported way of specifying the port).  If
you want to use the URI syntax that does allow a port after a colon you
need to specify the "ssh:" scheme prefix (this was added in OpenSSH
7.6):

ssh ssh://[email protected]:22

> PROBLEM:
> nodejs modules (for exemple) use the user@host:port methode.

If nodejs is invoking ssh in a way that's not supported that sounds
like a problem with nodejs.  You could configure around it by adding
something like this to your ~/.ssh/config file:

Host vps-1060b8b0.vps.ovh.net:22
  Hostname vps-1060b8b0.vps.ovh.net
  Port 22

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to