The method to install an extension is described in every thread dedicated to a certain extension.
In the case of the Flagrow Upload extension e.g. it says:
composer require flagrow/upload
That's the command needed to install the extension via SSH.
Be sure, that you are in the flarum root folder before calling that command.
What have you tried so far?