In trying to flash a Jetson with L4T 35.2.1, I ran into a new error today during the flash script. After doing some digging to find out what was happening, I found the error in the Linux_for_Tegra/tools/ota_tools/version_upgrade/ota_make_recovery_img_dtb.sh script at this line (112) in particular.
ssh-keygen -t dsa -N "" -f "${_initrd_dir}/${ssh_config_dir}/ssh_host_dsa_key" >/dev/null 2>&1;check_error
I’m not too familiar with ssh keys in general, but it seems that perhaps the version of OpenSSH that we use has been updated, and DSA keys have been deprecated, causing this command to no longer work. I commented out this line, and the script seems to have progressed normally. I am not sure what this does for the Jetson, but is it safe to have commented out this line?