Add InsecureIgnoreHostKey to bastion connection

pull/4940/head
Rickard von Essen 9 years ago
parent 2164700162
commit d4ecf4acb3
No known key found for this signature in database
GPG Key ID: E0C0327388876CBA

@ -230,7 +230,8 @@ func sshBastionConfig(config *Config) (*gossh.ClientConfig, error) {
}
return &gossh.ClientConfig{
User: config.SSHBastionUsername,
Auth: auth,
User: config.SSHBastionUsername,
Auth: auth,
HostKeyCallback: gossh.InsecureIgnoreHostKey(),
}, nil
}

Loading…
Cancel
Save