[no-relnote] fix host and port string generation for remote E2E

Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
This commit is contained in:
Carlos Eduardo Arango Gutierrez 2025-02-07 12:00:17 +01:00
parent b69d98d7cf
commit ac236a80f8
No known key found for this signature in database
GPG Key ID: 42D9CB42F300A852

View File

@ -153,7 +153,7 @@ func connectOrDie(sshKey, sshUser, host, port string) (*ssh.Client, error) {
connectionFailed := false
for i := 0; i < 20; i++ {
client, err = ssh.Dial("tcp", host+port, sshConfig)
client, err = ssh.Dial("tcp", host+":"+port, sshConfig)
if err == nil {
return client, nil // Connection succeeded, return the client.
}