SSH Curl doesn't work when URL is accessible in browser
For french developers using SSH with a shared hosting pro at OVH, the support says external calls like curl
are disabled in ssh, but obviously I can do curl https://packagist.org/packages.json
.
When they tried themselves, they got an error like action forbidden
or something like that.
It doesn't make any sense.
I solved my prior issue doing composer install
instead of composer update
.
Here is the first discussion for reference:Laravel - composer update: Connection refused