diff --git a/.gitignore b/.gitignore index 82cee85..911f38e 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,4 @@ dist .cover release bin +.idea \ No newline at end of file diff --git a/main.go b/main.go index b6f752e..ec49bb8 100644 --- a/main.go +++ b/main.go @@ -298,6 +298,7 @@ func run(c *cli.Context) error { Ciphers: c.StringSlice("ciphers"), UseInsecureCipher: c.Bool("useInsecureCipher"), TarDereference: c.Bool("tar.dereference"), + Protocol: easyssh.Protocol(c.String("protocol")), Proxy: easyssh.DefaultConfig{ Key: c.String("proxy.ssh-key"), Passphrase: c.String("proxy.ssh-passphrase"),