If you want to install repo through ssh:
yarn add otp-react-redux@git+ssh://[email protected]/opentripplanner/otp-react-redux#head=result-post-processor
basically replace leading https:// with git+ssh://git@
https://
git+ssh://git@