diff --git a/pkg/backy/ssh.go b/pkg/backy/ssh.go index fbb7ace..6ba5550 100644 --- a/pkg/backy/ssh.go +++ b/pkg/backy/ssh.go @@ -113,8 +113,7 @@ func (remoteConfig *Host) ConnectToSSHHost() (*ssh.Client, error) { println("Connecting to " + host) sshClient, connectErr = ssh.Dial("tcp", host, sshConfig) if connectErr != nil { - continue - // panic(fmt.Errorf("error when connecting to host %s: %w", host, connectErr)) + panic(fmt.Errorf("error when connecting to host %s: %w", host, connectErr)) } } break