I connect to an SSH server which often disconnects and I have multiple terminal/tabs open in MobaXterm, but I guess this could apply to any terminal client. When the connection breaks it's a disaster because I have to reconnect each terminal and go back to the remote path that I was using, huge waste of time.
MobaXterm provides a handy shortcut (R) to reconnect but that only bring me back to my home directory. Is there anyway that when at reconnect the previous path is restored? It doesn't seem to complicated to implement but I don't see any option to do so in MobaXterm, but maybe there's something that can be done with bash or ssh? Like a script or some ssh setting.
I don't have any control on the server side outside of my own profile.