Skip to content

unhandled SSH errs in User plugun #146

Description

@pavansokkenagaraj

unhandled SSH errs in User plugun

yip/pkg/plugins/user.go

Lines 233 to 235 in 9484451

if len(s.Users[k].SSHAuthorizedKeys) > 0 {
SSH(l, schema.Stage{SSHKeys: map[string][]string{r.Name: r.SSHAuthorizedKeys}}, fs, console)
}

yip/pkg/plugins/ssh.go

Lines 31 to 41 in 9484451

func SSH(l logger.Interface, s schema.Stage, fs vfs.FS, console Console) error {
var errs error
for u, keys := range s.SSHKeys {
if err := ensureKeys(u, keys, fs); err != nil {
errs = multierror.Append(errs, err)
}
}
return errs
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions