Add InsecureIgnoreHostKey to bastion connection
This commit is contained in:
parent
2164700162
commit
d4ecf4acb3
@ -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…
x
Reference in New Issue
Block a user