ssh -t 'command; bash -l'
will execute the command and then start up a login shell when it completes. For example:
ssh -t user@domain.example 'cd /some/path; bash -l'
ssh -t 'command; bash -l'
will execute the command and then start up a login shell when it completes. For example:
ssh -t user@domain.example 'cd /some/path; bash -l'