aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-11-12 18:14:42 -0200
committerSilvio Rhatto <rhatto@riseup.net>2018-11-12 18:14:42 -0200
commitc0141ba3b85512d291b76c38282ac40793272c89 (patch)
tree20f8c3905b1d3dcaf32b7ee53cc6929166c5c9b0
parentd93e90673947a086432e0d1538c1cebc26bff992 (diff)
downloadkvmx-c0141ba3b85512d291b76c38282ac40793272c89.tar.gz
kvmx-c0141ba3b85512d291b76c38282ac40793272c89.tar.bz2
Fixes __kvmx_ssh_command identity file config
-rwxr-xr-xkvmx4
1 files changed, 3 insertions, 1 deletions
diff --git a/kvmx b/kvmx
index 4ab07dd..0420211 100755
--- a/kvmx
+++ b/kvmx
@@ -60,7 +60,9 @@ function kvmx_app_base {
# Build a SSH command
function __kvmx_ssh_command {
if [ ! -z "$1" ]; then
- local ssh_key_param="-i $1"
+ #local ssh_key_param="-i $1"
+ # See https://makandracards.com/makandra/512-how-to-fix-too-many-authentic-authentication-failures-with-ssh-and-or-capistrano
+ local ssh_key_param="-o IdentityFile=$1 -o IdentitiesOnly=yes"
fi
# See http://blog.djm.net.au/2013/11/chacha20-and-poly1305-in-openssh.html