Fix progress output (#48)
* Remove fingerprint warning message * Update dependencies
This commit is contained in:
@@ -130,7 +130,6 @@ func verifyHost(host string, remote net.Addr, key ssh.PublicKey) error {
|
||||
|
||||
if !hostFound && err != nil {
|
||||
if err.Error() == "knownhosts: key is unknown" {
|
||||
log.Warnf("Adding host %s to ~/.ssh/known_hosts", host)
|
||||
return goph.AddKnownHost(host, remote, key, "")
|
||||
}
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user