Frequent disconnect to remote ssh server using mtputty can be handled by this bash script. Simply set you mtputty with this script and on click you will be log into your screen session after ssh log in. Set appropriate delay before scipt run on ssh login. Mostly 5 Sec is good enough for fast eonugh server.
Setps to Install:
- Log in to you ssh server
- Copy script to your login path and chmode +x mtputty_auto_screen.sh
- In MtPutty servers->properties->script put /bin/bash <your_script_path>/mtputty_auto_screen.sh
- Add 5 seconds of delay before script runs
- save
On next mtputty use, just click on saved server to login to screen one by one