Development & Design PHP Tech Magento 2 Static Content Deploy by Putty/SSH By Sanvar Choudhary Posted on August 21, 201730 second read0 0 302 Share on Facebook Share on Twitter Share on Google+ Share on Reddit Share on Pinterest Share on Linkedin Share on Tumblr This is the command you’d run before deploying to production mode. 1. open SSH/Putty and enter host and username2. Enter password3. Navigate magneto 2 root directory4. After enter following command.php bin/magento setup:static–content:deployit will take some time and generate static content.