def vagrant_ssh_config():
ssh_config = local('<STR_LIT>', capture=True)<EOL>user = re.search('<STR_LIT>', ssh_config).group(<NUM_LIT:1>)<EOL>port = re.search('<STR_LIT>', ssh_config).group(<NUM_LIT:1>)<EOL>ip = re.search('<STR_LIT>', ssh_config).group(<NUM_LIT:1>)<EOL>pkey = re.search('<STR_LIT>', ssh_config).group(<NUM_LIT:1>)<EOL>return(user, ip, port, pkey)<EOL>
returns the vagrant ssh config for a running instance