This commit is contained in:
CyberShell committed 2023-01-02 13:25:39 -06:00
1 parent 34af511a95
commit 2f73df73b1
1 file changed
+1
+1
View File
@@ -108,6 +108,7 @@ func (remoteConfig *Host) ConnectToSSHHost() (*ssh.Client, error) {
HostKeyCallback: ssh.FixedHostKey(hostKey),
}
for _, host := range remoteConfig.HostName {
println("Connecting to " + host)
sshClient, connectErr = ssh.Dial("tcp", host, sshConfig)
if connectErr != nil {
continue