bastion-cli 0.7.7 → 0.7.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bastion-cli.gemspec +3 -2
- data/lib/bastion/version.rb +1 -1
- metadata +3 -62
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11f26c87173fd2fc37d108a782861a34df39ea08
|
4
|
+
data.tar.gz: 3e9985e5301214e164072f0ae969fd9763452bd3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79cd0237e542b8d07b0293f72e874ccce896f931ca421b88bef8e8a4137502340f61601c7d62fafce53103510782de0c3970cfa235a652cf1d21e481395f7d71
|
7
|
+
data.tar.gz: c49ceabc5bb587f82c197a28e8ef5981787fea5e6e6650b9f8eda80d5fae7de7392077f762ee45f65757f0f9be2f33123b76ad8723a1d07516837727be80e36b
|
data/bastion-cli.gemspec
CHANGED
@@ -8,8 +8,9 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.name = "bastion-cli"
|
9
9
|
spec.version = Bastion::VERSION
|
10
10
|
spec.date = (Date.today << 1).to_s
|
11
|
-
|
12
|
-
spec.
|
11
|
+
# File.read(lib + "/../readme.md")
|
12
|
+
spec.summary = "Log into things through bastions"
|
13
|
+
spec.description = "Log into things through bastions."
|
13
14
|
spec.authors = ["ptdorf"]
|
14
15
|
spec.email = ["ptdorf@gmail.com"]
|
15
16
|
spec.homepage = "https://github.com/ptdorf/bastion-cli"
|
data/lib/bastion/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bastion-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ptdorf
|
@@ -52,66 +52,7 @@ dependencies:
|
|
52
52
|
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
description:
|
56
|
-
# bastion-cli
|
57
|
-
|
58
|
-
Log into things through bastions.
|
59
|
-
|
60
|
-
|
61
|
-
[![Build Status](https://travis-ci.org/ptdorf/bastion-cli.svg?branch=master)](https://travis-ci.org/ptdorf/bastion-cli)
|
62
|
-
[![Gem Version](https://badge.fury.io/rb/bastion-cli.svg)](https://badge.fury.io/rb/bastion-cli)
|
63
|
-
|
64
|
-
|
65
|
-
## Installation
|
66
|
-
|
67
|
-
```shell
|
68
|
-
sudo gem install bastion-cli
|
69
|
-
```
|
70
|
-
|
71
|
-
## Usage
|
72
|
-
|
73
|
-
```shell
|
74
|
-
# To see all options
|
75
|
-
$ bastion
|
76
|
-
Commands:
|
77
|
-
bastion help [COMMAND] # Describe available commands or one specific command
|
78
|
-
bastion host [HOST] # Show or set the default bastion host
|
79
|
-
bastion ssh [INSTANCE] # Logs into an instance
|
80
|
-
bastion tunnel [PORT] # Starts a new tunnel
|
81
|
-
bastion version # Shows current version
|
82
|
-
|
83
|
-
# To log into an instance
|
84
|
-
$ bastion ssh 10.1.2.3
|
85
|
-
|
86
|
-
# To log into an instance specifying a bastion host
|
87
|
-
$ bastion ssh 10.1.2.3 --host 12.34.56.78
|
88
|
-
|
89
|
-
# To log into an instance specifying a bastion host and make it default
|
90
|
-
$ bastion ssh 10.1.2.3 --host 12.34.56.78 --save
|
91
|
-
|
92
|
-
# To show the default bastion host
|
93
|
-
$ bastion host
|
94
|
-
|
95
|
-
# To set the default bastion host
|
96
|
-
$ bastion host bastion.example.com
|
97
|
-
|
98
|
-
# To open a tunnel using the default bastion host
|
99
|
-
$ bastion tunnel
|
100
|
-
|
101
|
-
# To open a tunnel using the default bastion host on port 1337
|
102
|
-
$ bastion tunnel 1337 --host 12.34.56.78
|
103
|
-
```
|
104
|
-
|
105
|
-
You can also set the `BASTION_HOST` environment variable with the address of the
|
106
|
-
bastion host:
|
107
|
-
|
108
|
-
BASTION_HOST=bastion.example.com bastion ssh web.example.com
|
109
|
-
|
110
|
-
The pecking order is:
|
111
|
-
|
112
|
-
- `BASTION_HOST` environment variable
|
113
|
-
- The default value that lives in `${HOME}/.bastion`
|
114
|
-
|
55
|
+
description: Log into things through bastions.
|
115
56
|
email:
|
116
57
|
- ptdorf@gmail.com
|
117
58
|
executables:
|
@@ -154,5 +95,5 @@ rubyforge_project:
|
|
154
95
|
rubygems_version: 2.0.14
|
155
96
|
signing_key:
|
156
97
|
specification_version: 4
|
157
|
-
summary: Log into things through bastions
|
98
|
+
summary: Log into things through bastions
|
158
99
|
test_files: []
|