-
Notifications
You must be signed in to change notification settings - Fork 20
/
testing.txt
86 lines (43 loc) · 1.72 KB
/
testing.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
what should work
adding auth
rho auth add --name "foobar" --username "blippy" --password "nomoresecrets"
rho auth add --name "mykeys" --username "me" --file ~/.ssh/id_rsa_me
add profiles
(add a single machine, using foobar auth)
rho profile add --name "mymachine" --ip 10.0.0.1 --auth foobar
(add a range of machines,using foobar auth)
rho profile add --name "mysubnet" --range "10.0.0.1 - 10.0.0.10" --auth foobar
(add a machine with two (or more) auth methods, note auth method should be tried
in the order they are added on the cli)
rho profile add --name "myothermachine" --ip 10.0.1.0 --auth "mykeys" --auth "foobar"
(add a profile with no auth info)
rho profile add --name "somemachines" --range "10.1.0.0 00 - 10.1.0.10"
show auth
rho auth show
show profiles
rho profile show
show a dump of the config
rho dumpconfig
remove/clear an auth
rho auth clear --name "mykeys"
remove/clear all auth
rho auth clear --all
remove/clear all profiles
rho profile clear --all
scan a profile with it's defautl auth
rho scan "mymachine"
scan a profile range with it sdefault auth
rho scan "mysubnet"
scan a host directly without it being in a profile
rho scan --ip 10.0.0.1 --username foobar --password blip
(this method doesn't support keys yet)
Notes about scanning:
By default, currently rho will also use any ssh keys that can be found
on the normal ssh-agent. So it's probably a good idea to test with it on and
off. (either "ssh-add -D" or just kill the agent with "ssh-agent -k").
What is known not to work
show a auth by name/key
rho auth show --usernames
rho auth show --keys
remove/clear a profile by name
rho profile clear --name "profilename