diff options
| author | Paul Buetow <paul@buetow.org> | 2021-11-07 11:54:16 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2021-11-07 11:54:16 +0200 |
| commit | c5679ae69d0ffd17d6675d2b275b62daa1522ced (patch) | |
| tree | 91fb0774cfba3b90218a040fc93dace638e320c1 /internal/clients | |
| parent | 4121a7fc9c24384566760708e2ee7a03de0bd484 (diff) | |
can set ssh private key path file via env var
Diffstat (limited to 'internal/clients')
| -rw-r--r-- | internal/clients/baseclient.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/clients/baseclient.go b/internal/clients/baseclient.go index 3cd85fe..764d53e 100644 --- a/internal/clients/baseclient.go +++ b/internal/clients/baseclient.go @@ -56,7 +56,7 @@ func (c *baseClient) init() { } c.sshAuthMethods, c.hostKeyCallback = client.InitSSHAuthMethods( c.Args.SSHAuthMethods, c.Args.SSHHostKeyCallback, c.Args.TrustAllHosts, - c.throttleCh, c.Args.SSHPrivateKeyPathFile) + c.throttleCh, c.Args.SSHPrivateKeyFilePath) } func (c *baseClient) makeConnections(maker maker) { |
