Currently we execute some commands in the remote machine for environment preparation, and we assume the remote machine user shell is bash.
Using a different shell can cause problems like the ones in the following issue:
Originally posted by @tmdag in #231 (comment)