Fix issue where ssh_keyfile could cause trace