If you want SSH via UDP, try mosh. If you have it installed on both client and server side, it just works, re-using auth, sessions etc fron ssh itself and only replacing sending actual session bytes back and forth. Don't break on unstable connections, have way lower latency
eternal is better than mosh https://eternalterminal.dev/
I have used Mosh for years and recently heard of ET, but when I tried it I experienced noticeable hangs that I don’t get with Mosh, and I went back.
I heard from several people that “ET is the new Mosh”, but it won’t be for me unless I can figure out/resolve those hangs