mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-25 17:12:50 +00:00
add ssh
This commit is contained in:
parent
78bf6b7b41
commit
f95f07d92f
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue