SSH: Check each connection detail
Open the instance in the console and note its host address, SSH port and username. Verify your private key path locally before connecting. Don’t use the VNC port in your SSH command.
chmod 600 "$SSH_KEY"
ssh -i "$SSH_KEY" -p "$SSH_PORT" "$NODE_USER@$NODE_HOST"
Verify the host fingerprint on your first connection. If you can’t confirm it, open a support ticket rather than disabling host verification. For a timeout, check your local network and port reachability. For a permission error, verify the username, key and public key configured on the instance.
The fingerprint may change after a reinstall or Mac replacement. Update your local record only after confirming the instance has changed.