Issue with clusterkey when using memsql-deploy setup-cluster


#1

Hi,

If clusterkey does not have a passphrase, following works without issues.
#memsql-deploy setup-cluster -y -i /home/mdc/clusterkey --license AAAABBBCCC== --hosts-file /home/jivora/hosts.ini --password secure_password --high-availability=false

If I put a passphrase for the clusterkey, same command fails with following.

Starting rollback
✓ Unregistered hosts
✓ Rollback succeeded
SSH Master process failed to start:
Error: error running command: "/usr/bin/ssh" "-oControlMaster=yes" "-oControlPath=/run/user/1000/memsql-toolbox077400217/1.socket" "-N" "-oStrictHostKeyChecking=no" "-oUserKnownHostsFile=/dev/null" "-oServerAliveInterval=60" "-oServerAliveCountMax=5" "-oBatchMode=yes" "-oUser=jivora" "-oIdentityFile=/home/jivora/clusterkey" "memsqlserver": exit status 255
Stdout:
Stderr: Warning: Permanently added ‘memsqlserver,10.0.0.12’ (ECDSA) to the list of known hosts.
jivora@memsqlserver: Permission denied (publickey).

Is there any issue with using clusterkey with passphrase? Am I missing something?

Thanks.