Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unhandled SSH errs in User plugun #146

Open
pavansokkenagaraj opened this issue Apr 22, 2024 · 0 comments
Open

unhandled SSH errs in User plugun #146

pavansokkenagaraj opened this issue Apr 22, 2024 · 0 comments

Comments

@pavansokkenagaraj
Copy link

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
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant