embulk-input-remote 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88e5bc21e8eeb0d61376ec7626a8d443d8fe5c4b
|
4
|
+
data.tar.gz: 0a06f9cd98e4f64d52879be8ec29bff2d5e5c57c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6adb21a1630eacf828830737604aed526e6e539f5235451b801cd4b2c925c57091e09a491cc662a32d0e8fda36ad1aded80ff9d393af717e5ea8a9b8c0af3141
|
7
|
+
data.tar.gz: 965b336e050e0f5e26c0cca10866957dd518e70e98b1ca1f2bca28247321895cf2b1d90458aa8d32bb66c33675720edbd0e89640efd1bb52d4fe7b16fb8952f8
|
data/README.md
CHANGED
@@ -23,6 +23,7 @@ This plugin load data from Remote hosts by SCP
|
|
23
23
|
- **type**: public_key or password (string, default: public_key)
|
24
24
|
- **key_path**: Path of secret key (If you choose type "public_key") (string, default: "~/.ssh/id_rsa or id_dsa")
|
25
25
|
- **password**: SSH password (If you choose type "password") (string)
|
26
|
+
- **skip_host_key_verification**: If the option is true, HostKey verification will be skipped (boolean, default: false)
|
26
27
|
|
27
28
|
## Example
|
28
29
|
|
data/build.gradle
CHANGED
Binary file
|
data/example/example.yml.liquid
CHANGED
@@ -26,12 +26,4 @@ in:
|
|
26
26
|
- {name: time, type: timestamp, format: '%Y-%m-%d %H:%M:%S'}
|
27
27
|
- {name: purchase, type: timestamp, format: '%Y%m%d'}
|
28
28
|
- {name: comment, type: string}
|
29
|
-
|
30
|
-
out:
|
31
|
-
type: file
|
32
|
-
path_prefix: {{ env.PROJECT_ROOT }}/example/csv/sample_
|
33
|
-
file_ext: csv
|
34
|
-
formatter:
|
35
|
-
type: csv
|
36
|
-
delimiter: "\t"
|
37
|
-
newline: CRLF
|
29
|
+
out: {type: stdout}
|
@@ -6,6 +6,7 @@ import net.schmizz.sshj.connection.channel.direct.Session;
|
|
6
6
|
import net.schmizz.sshj.signature.SignatureDSA;
|
7
7
|
import net.schmizz.sshj.signature.SignatureECDSA;
|
8
8
|
import net.schmizz.sshj.signature.SignatureRSA;
|
9
|
+
import net.schmizz.sshj.transport.verification.PromiscuousVerifier;
|
9
10
|
import net.schmizz.sshj.xfer.InMemoryDestFile;
|
10
11
|
import net.schmizz.sshj.xfer.LocalDestFile;
|
11
12
|
|
@@ -40,6 +41,9 @@ public class SSHClient implements Closeable {
|
|
40
41
|
}
|
41
42
|
|
42
43
|
public void connect(String host, Map<String, String> authConfig) throws IOException {
|
44
|
+
if (Boolean.valueOf(authConfig.get("skip_host_key_verification"))) {
|
45
|
+
client.addHostKeyVerifier(new PromiscuousVerifier());
|
46
|
+
}
|
43
47
|
client.loadKnownHosts();
|
44
48
|
client.connect(host);
|
45
49
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-input-remote
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shinichi Ishimura
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -62,7 +62,7 @@ files:
|
|
62
62
|
- classpath/bcpkix-jdk15on-1.51.jar
|
63
63
|
- classpath/bcprov-jdk15on-1.51.jar
|
64
64
|
- classpath/ecc-25519-java-1.0.1.jar
|
65
|
-
- classpath/embulk-input-remote-0.1.
|
65
|
+
- classpath/embulk-input-remote-0.1.9.jar
|
66
66
|
- classpath/jzlib-1.1.3.jar
|
67
67
|
- classpath/sshj-0.15.0.jar
|
68
68
|
homepage: https://github.com/kamatama41/embulk-input-remote
|