I need to write the output of ssh debug info into the file. This
ssh -v root@172.16.248.xx > result.txt ssh -v root@172.16.248.xx 2>&1 > result.txt
-E log_file Append debug logs to log_file instead of standard error.