SSH Troubleshooting

  • Run ssh -vT git@game.secdim.com to see which public key is picked.

  • Specify which private key to use ssh -T git@game.secdim.com -i [PATH TO YOUR PRIVATE KEY]

  • If you generate a new non-default pair of SSH key, you need to add it to your ssh-agent, otherwise you will get a Permission denied. To add your non-default SSH key to ssh-agent run the following commands:

$ eval "$(ssh-agent -s)"
# Linux
$ ssh-add ~/.ssh/{YOUR_PRIVATE_SSHKEY_FILE}
# Mac
$ ssh-add --apple-use-keychain ~/.ssh/{YOUR_PRIVATE_SSHKEY_FILE}
  • Alternatively, try the following command in your terminal. It will generate and add a SSH key to your account and installs required tools:

bash -c "$(curl -sSfL https://raw.githubusercontent.com/secdim/play-setup-script/main/setup.sh)"

If you still get "Permission denied (publickey), see continue with this troubleshooting guide or reply to this post.