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

import sys
sys.path.append("..")
import os
from ssh_config_utils.parser import parse_config_text
from constants import user_ssh_config_path
with open(user_ssh_config_path) as your_ssh_config_file:
text = your_ssh_config_file.read()
data = parse_config_text(text)