aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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