...
In the above example we switched the local site to the extension directory, and the remote site to the code directory. Now on the remote site window, inside app/code directory, create a folder named Magenest Magenest/Booking and go inside it. Now on your local site window, right click on Extension Name and click Upload. The extension will be uploaded onto your host in a few minutes.
...
scp <path to your extension> <ssh server>:<path to Magenest/Booking directory>
Then log into your ssh server, go to Magenest directory and execute the following command to decompress the module:
...
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
...