ztk 0.0.15 → 0.0.16
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.
- data/lib/ztk/ssh.rb +2 -0
- data/lib/ztk/version.rb +1 -1
- metadata +2 -2
data/lib/ztk/ssh.rb
CHANGED
|
@@ -291,6 +291,7 @@ module ZTK
|
|
|
291
291
|
command << [ "-o", "KeepAlive=yes" ]
|
|
292
292
|
command << [ "-o", "ServerAliveInterval=60" ]
|
|
293
293
|
command << [ "-i", @config.keys ] if @config.keys
|
|
294
|
+
command << [ "-p", @config.port ] if @config.port
|
|
294
295
|
command << [ "-o", "ProxyCommand=\"#{proxy_command}\"" ] if @config.proxy_host_name
|
|
295
296
|
command << "#{@config.user}@#{@config.host_name}"
|
|
296
297
|
command = command.flatten.compact.join(" ")
|
|
@@ -323,6 +324,7 @@ module ZTK
|
|
|
323
324
|
command << [ "-o", "KeepAlive=yes" ]
|
|
324
325
|
command << [ "-o", "ServerAliveInterval=60" ]
|
|
325
326
|
command << [ "-i", @config.proxy_keys ] if @config.proxy_keys
|
|
327
|
+
command << [ "-p", @config.proxy_port ] if @config.proxy_port
|
|
326
328
|
command << "#{@config.proxy_user}@#{@config.proxy_host_name}"
|
|
327
329
|
command << "nc %h %p"
|
|
328
330
|
command = command.flatten.compact.join(" ")
|
data/lib/ztk/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ztk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.16
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-01-
|
|
12
|
+
date: 2013-01-22 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: erubis
|