I'm trying to find a clean way to run multiple commands through an SSH connection. I'm using the common:
$ ssh USER@HOST 'COMMAND1; COMMAND2; COMMAND3'
$ ssh USER@HOST 'cd /var/www; git status'
After I run this command, I get the normal prompt. Does this means the SSH connection was terminated after executing the commands?