bastion-cli 0.7.5 → 0.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/bastion/version.rb +1 -1
- data/readme.md +11 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 505043ca1ead0745375193bfd8d1674b528649fe
|
|
4
|
+
data.tar.gz: ee47e822be5493e581fa6031a83537fd5cdeed20
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0249d2db1e3a984644fc8eace9c409908b76b21c78bf84659a1fc2ef14e7af06379bdc6b6447ee805354f318f1acf8f97f563f8068813a58fd6f907ed57aa9ac
|
|
7
|
+
data.tar.gz: 5a2437c80a72811ed3d908ebee865d6e88c54606b79751bd904e47ff6806f2237762026d7e2492924fdb5ed6405bdf023c64bca03b866103d06053bf7c95283c
|
data/lib/bastion/version.rb
CHANGED
data/readme.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
# bastion-cli
|
|
2
2
|
|
|
3
|
-
Log into bastion hosts.
|
|
3
|
+
Log into things through bastion hosts.
|
|
4
|
+
|
|
4
5
|
|
|
5
6
|
[](https://travis-ci.org/ptdorf/bastion-cli)
|
|
6
7
|
[](https://badge.fury.io/rb/bastion-cli)
|
|
7
8
|
|
|
9
|
+
|
|
8
10
|
## Installation
|
|
9
11
|
|
|
10
12
|
```shell
|
|
@@ -15,7 +17,13 @@ sudo gem install bastion-cli
|
|
|
15
17
|
|
|
16
18
|
```shell
|
|
17
19
|
# To see all options
|
|
18
|
-
bastion
|
|
20
|
+
$ bastion
|
|
21
|
+
Commands:
|
|
22
|
+
bastion help [COMMAND] # Describe available commands or one specific command
|
|
23
|
+
bastion host [HOST] # Show or set the default bastion host
|
|
24
|
+
bastion ssh [INSTANCE] # Logs into an instance
|
|
25
|
+
bastion tunnel [PORT] # Starts a new tunnel
|
|
26
|
+
bastion version # Shows current version
|
|
19
27
|
|
|
20
28
|
# To log into an instance
|
|
21
29
|
bastion ssh 10.1.2.3
|
|
@@ -42,7 +50,7 @@ bastion tunnel 1337 --host 12.34.56.78
|
|
|
42
50
|
You can also set the `BASTION_HOST` environment variable with the address of the
|
|
43
51
|
bastion host:
|
|
44
52
|
|
|
45
|
-
BASTION_HOST=bastion.example.com bastion ssh web
|
|
53
|
+
BASTION_HOST=bastion.example.com bastion ssh web.example.com
|
|
46
54
|
|
|
47
55
|
The pecking order is:
|
|
48
56
|
|