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

Add ssh-host command for getting the ssh host keys #9630

Merged
merged 2 commits into from
Dec 17, 2020

Commits on Dec 12, 2020

  1. Add ssh-host command for getting the ssh host keys

    This is similar to the existing minikube "ssh-key" command, but gets
    the content of the host key instead of the path to the identity key.
    
    The output of this command can be added to the ~/.ssh/known_hosts,
    for strict host key authentication. For instance when using Docker.
    afbjorklund committed Dec 12, 2020
    Configuration menu
    Copy the full SHA
    a387989 View commit details
    Browse the repository at this point in the history
  2. Add option to add the ssh-host key to known_hosts

    This matches the ssh-add command for identity keys,
    it will add the host key to the ssh known_hosts file.
    
    If a ssh key for the host already exists in the file,
    it will not be added again so can be run multiple times.
    afbjorklund committed Dec 12, 2020
    Configuration menu
    Copy the full SHA
    7822a4e View commit details
    Browse the repository at this point in the history