fix for host key

v0.1.0
Andrew Woodlee 1 year ago
parent b25c7ea5ea
commit 198d0ca4b9

@ -93,7 +93,7 @@ func (remoteConfig *Host) ConnectToSSHHost() (*ssh.Client, error) {
println("HostName: " + remoteConfig.HostName[0])
}
}
hostKey := getHostKey(remoteConfig.Host)
hostKey := getHostKey(remoteConfig.HostName[0])
privateKey, err := os.ReadFile(remoteConfig.PrivateKeyPath)
if err != nil {

Loading…
Cancel
Save