You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
275 B

  1. import sys
  2. sys.path.append("..")
  3. import os
  4. from ssh_config_utils.parser import parse_config_text
  5. from constants import user_ssh_config_path
  6. with open(user_ssh_config_path) as your_ssh_config_file:
  7. text = your_ssh_config_file.read()
  8. data = parse_config_text(text)