I spent some times to figure out how to execute a remote command using “bash” and thought of sharing my findings (make your job easier).
An easy way is to go and edit ~/.profile and add the bash over there.
However above will not work if you try to remotely execute a script file, to solve that issues you need to edit
Find the entry corresponding to your logging and edit the last part of the entry for example; if the entry is like;
then change that to
You are in the business now…