Skip to content

Instantly share code, notes, and snippets.

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 ********
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]
"profiles": [ {
"auths": [
"foo",
"this is a long ass name"
],
"name": "this is a really long name",
"ports": [
22
],
"range": [
profiles:
name:
this is a really long name
auths:
foo
this is a long ass name
ports:
22
profiles:
name:
this is a really long name
auths:
foo
this is a long ass name
ports:
22
profiles:
name: this is a really long name
auths:
foo
this is a long ass name
ports:
22
profiles:
name: this is a really long name
auths:
foo
this is a long ass name
ports:
22
bin/rho profile list
Config Encryption Password:
profiles:
name: this is a really long name
auths:
foo
this is a long ass name
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:
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: