Common SSH Issues and Solutions
Intro
These are some common issues users experience when connecting to Shadeform GPUs via SSH and the solutions to fix them. Happy Computing!
Unprotected Key File
This issue indicates that the private key file (.pem format) that you have does not have the correct permissions. On unix based systems (Linux or MacOS), you can run the following line to change the file to the right permissions.you
Remote Host Identification Has Changed
This issue appears when the underlying server/host for the IP address has changed since the last time you connected to this IP address. On Shadeform, a lot of our providers have a pool for their public IP addresses that their machines pull from. Therefore, if you have previously launched a Shadeform instance and just now relaunched one, it’s very likely that the IP address was reused but the machine behind the IP is a new one.
You can very quickly resolve this problem by running the command below to reset your cache of IPs and hosts.
Permission Denied
If you are sure you’re using the correct private key and are still getting permission denied, it’s possible that you have multiple other keys in your keychain that SSH is automatically trying first. The target server will automatically reject your SSH attempts after a number of back to back failures. In this case, you will need to specifically target a private key file and only use that one for SSH.you