Open
Description
Add support for service names additional to port numbers to ssh.Client.Dial
.
PR: https://go.dev/cl/443775 (golang/crypto#235)
net.Dial
already supports this same, this proposal adds that same feature to ssh.Client.Dial
.
Currently ssh.Client.Dial
uses strconv.ParseUint
to convert a port number as string into the int type it needs.
The proposal is to use net.LookupPort
instead.
net.LookupPort
is purpose build for interpreting strings as ports and has the additional feature that it also supports service names.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Incoming