From dbed53d7deb9d610fb7597062c4ebe4bea01a23b Mon Sep 17 00:00:00 2001 From: Rawiri Date: Fri, 29 Jul 2022 10:44:11 +1200 Subject: [PATCH] Improve handling of ssh key path in instance_ssh() --- lib/instance-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/instance-functions b/lib/instance-functions index 73317bfb..50116833 100644 --- a/lib/instance-functions +++ b/lib/instance-functions @@ -258,7 +258,7 @@ instance-ssh() { ssh \ -t \ - -i "${BMA_SSH_DIR:-~/.ssh/}$keyname" \ + -i "${BMA_SSH_DIR:-~/.ssh}/$keyname" \ -o LogLevel=error \ -o StrictHostKeyChecking=no \ -o UserKnownHostsFile=/dev/null \