Squash.io – SSH Access Troubleshooting – Permission denied (publickey,gssapi-keyex,gssapi-with-mic)

Here the tips from squash.io team that help me, to solve this error

Permission denied (publickey,gssapi-keyex,gssapi-with-mic)

Regarding the SSH access:
* Make sure you have your SSH public key in the same GitHub account you are using to log in to Squash
* You can also add public keys here: https://app.squash.io/accounts/settings/vm/  – go to the “Deployment Keys”  section and upload your key.
Then restart the deployment after the above and wait till the deployment is up, then try to SSH to the endpoint described in the Squash deployment page.
I’ve done BOTH steps and then everything went great!!
A minor SSH tip: how to provide identity file (access to your private key) on command line?

 

ssh -vvv -i ./id_rsa_github_for_squash -p 11111 test-instance@54.234.234.54

-vvv : very verbose output, can be useful