Skip to content

Commit dbed53d

Browse files
Improve handling of ssh key path in instance_ssh()
1 parent bc03e99 commit dbed53d

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)