Skip to content

Commit 2c38b6c

Browse files
authored
Merge pull request #325 from rawiriblundell/BMA_SSH_DIR
Improve handling of ssh key path in instance_ssh()
2 parents bc03e99 + dbed53d commit 2c38b6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/instance-functions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ instance-ssh() {
258258

259259
ssh \
260260
-t \
261-
-i "${BMA_SSH_DIR:-~/.ssh/}$keyname" \
261+
-i "${BMA_SSH_DIR:-~/.ssh}/$keyname" \
262262
-o LogLevel=error \
263263
-o StrictHostKeyChecking=no \
264264
-o UserKnownHostsFile=/dev/null \

0 commit comments

Comments
 (0)