This commit is contained in:
Andrew Woodlee 2023-01-02 12:05:10 -06:00
parent d701d26938
commit 42034a7c15

View File

@ -106,7 +106,7 @@ func (remoteConfig *Host) ConnectToSSHHost() (*ssh.Client, error) {
for _, host := range remoteConfig.HostName {
sshConnection, connectErr = ssh.Dial("tcp", host, sshConfig)
if connectErr != nil {
break
continue
}
}
break