Using v2 without bash as default shell

I’m having the same problem as a number of users on v2 - I’m following the tutorial and can import movies but can’t do further processing. I’m using a single workstation, so ssh shouldn’t be an issue, but I get the usual error:

Command ‘[‘ssh’, u’mwilkin@lg3.lmb.internal’, ‘nohup’, u’/lmb/home/mwilkin/cryosparc2/cryosparc2_worker/bin/cryosparcw run --project P1 --job J4 --master_hostname lg3.lmb.internal --master_command_core_port 39002 > /beegfs3/mwilkin/cryosparc2_test/J4/job.log 2>&1 & ‘]’ returned non-zero exit status 255


Running job on remote worker node hostname lg3.lmb.internal
Failed to launch! 255
ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory
Host key verification failed.

From other threads it looks like the problem is because bash is not my default shell. Mine is /bin/tcsh
Is there any way to use V2 without having bash as the default shell?



I am afraid that you need to wait for a new version. The document specifically said that it requires bash. But you can change your default shell by editing /etc/passwd:

Or if you type “bash” you can get into bash. I am not sure if that would bypass the problem though.


I installed again using version 2.10, it all works fine now, I didn’t have to change my default shell.
I installed using --standalone and I also noted in the changelog for this version it says “Fixed: Users that run standalone instances of cryoSPARC don’t require ssh keys to run jobs anymore.” So that might have been the only problem. In any case I also did all installation steps from a bash shell.

1 Like

As of v2.2+, users running a single-workstation instance of cryoSPARC do not require SSH keys in order to run jobs. On top of that, bash is no longer required to be a default shell on the worker node when running jobs. Cheers!

1 Like