Skip to content

Commit b04f3ed

Browse files
committed
ssh_wrapper.shにUserKnownHostsFileオプションを追加し、SSH接続の設定を強化
1 parent 2ae36a4 commit b04f3ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ssh_wrapper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ fi
2828

2929
destination=$(jq -r .destination $filename 2> /dev/null)
3030

31-
exec $sshpass_command ssh -o ConnectTimeout=5 -o StrictHostKeyChecking=no "${ssh_options[@]}" "$destination"
31+
exec $sshpass_command ssh -o ConnectTimeout=5 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null "${ssh_options[@]}" "$destination"

0 commit comments

Comments
 (0)