I find myself ssh-ing into another machine a lot at work. So much so, that I use it more than simply using the terminal on my own desktop.
I know that (normally) when I open a new tab, it will change the directory to be in the same folder that I am currently in. Is there any way to have it check to see if I'm ssh'd into another machine and, if so, ssh into that machine as well so that I don't have to key in the host, port, and flags for the new ssh with each open tab?