This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bin/rho auth list | |
Config Encryption Password: | |
name type username password key | |
-------------- ---- -------- -------- --- | |
foo ssh jmrodri ******** | |
key ssh_key root ******** ******* | |
key1 ssh_key jmrodri ******** ******* | |
key2 ssh Administrator ******** | |
kiss my ass ssh biteme ******** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bin/rho profile list | |
Config Encryption Password: | |
name range ports auth | |
-------------- ------------------------- --------------- ---- | |
prof1 ['127.0.0.1'] [22, 2222, 5402] | |
prof2 ['192.168.0.1 - 192.168.0.243'] [22] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"profiles": [ { | |
"auths": [ | |
"foo", | |
"this is a long ass name" | |
], | |
"name": "this is a really long name", | |
"ports": [ | |
22 | |
], | |
"range": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
profiles: | |
name: | |
this is a really long name | |
auths: | |
foo | |
this is a long ass name | |
ports: | |
22 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
profiles: | |
name: | |
this is a really long name | |
auths: | |
foo | |
this is a long ass name | |
ports: | |
22 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
profiles: | |
name: this is a really long name | |
auths: | |
foo | |
this is a long ass name | |
ports: | |
22 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
profiles: | |
name: this is a really long name | |
auths: | |
foo | |
this is a long ass name | |
ports: | |
22 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bin/rho profile list | |
Config Encryption Password: | |
profiles: | |
name: this is a really long name | |
auths: | |
foo | |
this is a long ass name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bin/rho profile list | |
Config Encryption Password: | |
name: this is a really long name | |
auths: | |
foo | |
this is a long ass name | |
ports: | |
22 | |
ranges: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def read_user_config(): | |
config = {} | |
file_loc = os.path.expanduser("~/.spacewalk-build-rc") | |
try: | |
f = open(file_loc) | |
except: | |
file_loc = os.path.expanduser("~/.titorc") | |
try: | |
f = open(file_loc) | |
except: |
OlderNewer