Ok, this rest section mismatch was masking the issue. It's ok just to fix ssh -> rest.