diff --git a/pkg/backy/ssh.go b/pkg/backy/ssh.go index 506e58b..1a7dc12 100644 --- a/pkg/backy/ssh.go +++ b/pkg/backy/ssh.go @@ -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