Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.

[Bug] Node SSH Keys Not Persistent #27

Open
1 of 4 tasks
ferricoxide opened this issue Jan 18, 2019 · 0 comments
Open
1 of 4 tasks

[Bug] Node SSH Keys Not Persistent #27

ferricoxide opened this issue Jan 18, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@ferricoxide
Copy link
Member

Describe the bug

When templates deploy replacement instances, the host SSH keys are not persisted across instantiations. This causes clients using SSH for push/pull to pop a MITM attack-alert

Severity

  • Completely Broken (No work-around evident)
  • Severely Broken (Work-around possible but difficult)
  • Moderately Broken (Trivial work-around)
  • Nuisance (Functions but untrapped errors can slip through)

To Reproduce

Use either the Standalone templates to deploy a new stack-set for migration or use the Autoscale templates to do automated rebuilds. Whenever the new instance(s) are made "live", SSH clients pop host-key errors

Expected behavior

Reprovision events are transparent to service-consumers

Fix Suggestions

Add logic to check config-bucket for service host-key files: if present download them in place of the ones generated at instance-launch; if absent, copy-up the host-key files to the config-bucket.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant