unhandled SSH errs in User plugun
|
if len(s.Users[k].SSHAuthorizedKeys) > 0 { |
|
SSH(l, schema.Stage{SSHKeys: map[string][]string{r.Name: r.SSHAuthorizedKeys}}, fs, console) |
|
} |
|
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 |
|
} |
unhandled SSH errs in User plugun
yip/pkg/plugins/user.go
Lines 233 to 235 in 9484451
yip/pkg/plugins/ssh.go
Lines 31 to 41 in 9484451