diff --git a/starcluster/node.py b/starcluster/node.py index 39d70a207..29d70a20f 100644 --- a/starcluster/node.py +++ b/starcluster/node.py @@ -1107,7 +1107,7 @@ def shell(self, user=None, forward_x11=False, forward_agent=False, command = "'source /etc/profile && %s'" % command ssh_cmd = ' '.join([ssh_cmd, command]) log.debug("ssh_cmd: %s" % ssh_cmd) - return subprocess.call(ssh_cmd, shell=True) + return subprocess.call(ssh_cmd, shell=True, executable='/bin/bash') else: log.debug("Using Pure-Python SSH client") if forward_x11: