Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit91 committed Jun 13, 2024
1 parent f1b1574 commit 462efb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func sshClient(user, keyfile, host string, port int, idToken *string, passwordAu
opts = append(opts, metalssh.ConnectOptOutputPassword(*idToken))
}

s, err := metalssh.NewClient(user, host, privateKey, port, opts)
s, err := metalssh.NewClient(user, host, privateKey, port, opts...)
if err != nil {
return err
}
Expand Down

0 comments on commit 462efb9

Please sign in to comment.