Thanks. I tried this option early without any changes in behavior, and there is no Global option for UpdateHostKeys. I'm not happy to edit each host settings - ssh-keygen -R host can be faster to resolve a problem.
Can you add a Global var UpdateHostKeys and Forward Agent to use as default?
That's true, I agree. But Core Shell tries to keep consistent with OpenSSH, and for security reasons, OpenSSH disables ssh auth agent and reject all remote host which identification has changed.
Even we add a standalone preference tab for all advanced options eventually, user still have to set UpdateHostKeys and ForwardAgent explicitly, for security reasons of course.
It's not about security - but about usability.
Especially when you hide all useful info and display only
➤ [Abnormal Disconnect Sep 14, 2019 at 11:29:30 PM]
in the console.
You thinking user must discover a problem, but you can (you should) display a warning with available choose of possible actions.
Print connection log into terminal is intuitive, but it has some drawbacks:
The terminal could be full of nonsense logs while a host is unreachable (keep retrying every 3 seconds). You may find yourself depressed if you try to backtrack important output before disconnection.
Colorless, hard to find critical information.
If log level is set to DEBUG2 or lower, ssh actually emit logs constantly (items start with debug2 and debug3 in above screenshot). Debug log must be forced to be silent after host is connected, otherwise the terminal output will be polluted.
A standalone inspector popover solves above problems, and it is extendable, we can reveal more information users concerned by sort (without read through all the log items).