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

Generate a cleaner ssh config file #980

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Aug 26, 2020

  1. Add a host block header only if adding more lines

    This way, if no lines are added, the config file doesn't end with a host
    block header.
    SphericalHam committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    9535eaa View commit details
    Browse the repository at this point in the history
  2. Move the no-lines-added test to the end

    Wait until we've added all the lines we're going to before we decide to
    remove the files.
    
    Previously, this would never happen because we unconditionally added a
    host block header to the lines - so in practice, this never caused any
    strange behaviour.
    SphericalHam committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    cd5d307 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2020

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