Skip to content

vtk sock setup should use Include instead of "I own your ssh config file now" #23

@td-usds

Description

@td-usds

vtk socks setup insists on taking full and complete ownership over the content in your ~/.ssh/config file.
It will blow away your existing configuration (if you have one - and back it up to config.bak, sure) and replace it with its own content during setup

Instead, the tool should:

  1. Dump its precious cargo (what currently goes in the ssh config file) in ~/.ssh/config-va.gov
  2. Grep the current ssh config file for Include config-va.gov
    1. If found: do nothing
    2. If not found: append it to the file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions