From c0141ba3b85512d291b76c38282ac40793272c89 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 12 Nov 2018 18:14:42 -0200 Subject: Fixes __kvmx_ssh_command identity file config --- kvmx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3