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

Always provide our known_hosts in addition to user known_hosts #1464

Merged
merged 3 commits into from
Nov 18, 2021

Commits on Aug 6, 2021

  1. Always provide our known_hosts in addition to user known_hosts

    This way, we don't have to rely on user configuration to include
    known_hosts entries for the deployments.
    
    It makes `nixops import --include-keys` unnecessary, unless you
    use those entries outside of nixops.
    
    Since recently we can get our deployment state from remote storage
    backends, but we didn't have a way to get configure the known_hosts
    yet. This is now largely unnecessary.
    
    This functionality requires some cooperation from the plugins. For
    instance, here's what ec2 needs to do: (pun intended)
    
    +    def get_ssh_host_keys(self):
    +        return self.private_ipv4 + " " + self.public_host_key + "\n" + self.public_ipv4 + " " + self.public_host_key + "\n"
    roberth committed Aug 6, 2021
    Configuration menu
    Copy the full SHA
    94a6884 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2021

  1. Configuration menu
    Copy the full SHA
    6e0d3aa View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2021

  1. Improve process handling in _get_ssh_ambient_options

    Thanks Mic92!
    roberth committed Aug 30, 2021
    Configuration menu
    Copy the full SHA
    6c1e348 View commit details
    Browse the repository at this point in the history