Skip to content

Commit

Permalink
fix: startup failed due to ssh keys not generated
Browse files Browse the repository at this point in the history
  • Loading branch information
balajiv113 committed Jul 13, 2022
1 parent 57c727c commit 8183f5d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/sshutil/sshutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ func SSHOpts(instDir string, useDotSSH, forwardAgent bool) ([]string, error) {
if err != nil {
return nil, err
}

//Run generation of public keys, so it can be used in common opts
_, _ = DefaultPubKeys(true)
opts, err := CommonOpts(useDotSSH)
if err != nil {
return nil, err
Expand Down

0 comments on commit 8183f5d

Please sign in to comment.