debug
This commit is contained in:
parent
34af511a95
commit
2f73df73b1
@ -108,6 +108,7 @@ func (remoteConfig *Host) ConnectToSSHHost() (*ssh.Client, error) {
|
|||||||
HostKeyCallback: ssh.FixedHostKey(hostKey),
|
HostKeyCallback: ssh.FixedHostKey(hostKey),
|
||||||
}
|
}
|
||||||
for _, host := range remoteConfig.HostName {
|
for _, host := range remoteConfig.HostName {
|
||||||
|
println("Connecting to " + host)
|
||||||
sshClient, connectErr = ssh.Dial("tcp", host, sshConfig)
|
sshClient, connectErr = ssh.Dial("tcp", host, sshConfig)
|
||||||
if connectErr != nil {
|
if connectErr != nil {
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user