I\'d like a command that ssh\'es into a machine, runs a command (cd or execute a script or su), and then gives me the shell. Passing a command to ssh seems to always exit.>
How about
ssh me@machine ./executeMyScript '&&' bash -i
You have to quote the && so it will be passed to the remote machine instead of swallowed by the local shell.
Quote a ';' character and you can change your start directory, too:
ssh me@machine ./executeMyScript '&&' cd /developmentDirectory ';' bash -i