This commit is contained in:
pixiake 2020-04-12 16:25:27 +08:00
parent 78bf6b7b41
commit f95f07d92f

View File

@ -46,7 +46,7 @@ func (dialer *Dialer) Connect(host kubekeyapi.HostConfig) (Connection, error) {
conn, found := dialer.connections[host.ID]
if !found {
opts := Opts{
opts := SSHCfg{
Username: host.SSHUsername,
Port: host.SSHPort,
Hostname: host.PublicAddress,