Title: No response from command line command
Last modified: April 28, 2022

---

# No response from command line command

 *  Resolved [SRD75](https://wordpress.org/support/users/srd75/)
 * (@srd75)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/no-response-from-command-line-command/)
 * Our dev site is hosted with WP Engine.
 * I’ve connected to the site on SSH, cd into the website root, run the command:
 * `wp csp generate`
 * Receive the response:
 * > Warning: We have started processing the site. This can take awhile to complete,
   > please keep this window open until it has finished.
 * This has been going for about 10 minutes with no further response.
 * Help appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Kevin Pirnie](https://wordpress.org/support/users/kevp75/)
 * (@kevp75)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/no-response-from-command-line-command/#post-15599506)
 * I would suggest letting it run longer. My personal site (on WPEngine) took over
   40 minutes to complete… I did have to have WPE support run the command for me
   because their shell time’s out to quickly.
 * If you are concerned… check your error logs on WPEngine (you can filter by your
   IP address), if nothing in there, enable `WP_DEBUG` in your `wp-config.php`, 
   run the command, then check the `wp-content/debug.log`
 * Please keep me posted how you make out with this… my personal site is the only
   one I tested the `CLI` on WPEngine. (I have a hard time with their support teams,
   and actually have to deal with them on a daily basis for my day job… difference
   being 40+ dedicated servers, and 700+ account) Do note, I have this plugin installed
   on 20% of those sites… though none utilize the cli for anything
    -  This reply was modified 4 years, 1 month ago by [Kevin Pirnie](https://wordpress.org/support/users/kevp75/).
 *  Thread Starter [SRD75](https://wordpress.org/support/users/srd75/)
 * (@srd75)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/no-response-from-command-line-command/#post-15602398)
 * Thanks.
 * WP Engine advised to edit my ~/.ssh/config file to add below Host: `ServerAliveInterval
   60`.
 *     ```
       Host example
         ServerAliveInterval 60
       ```
   
 * This allowed the process to be completed.
 *  Thread Starter [SRD75](https://wordpress.org/support/users/srd75/)
 * (@srd75)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/no-response-from-command-line-command/#post-15602407)
 * I received a success message through Terminal, but when I visit /wp-admin/admin.
   php?page=wpsh_settings#tab=content-security-headers I see:
 * Generate CSP? OFF
 * Is there anything more I need to do?
 * There isn’t much on your [plugin home pag](https://wordpress.org/plugins/security-header-generator/)
   e explaining this.
 *  Plugin Author [Kevin Pirnie](https://wordpress.org/support/users/kevp75/)
 * (@kevp75)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/no-response-from-command-line-command/#post-15602878)
 * [@srd75](https://wordpress.org/support/users/srd75/)
    It cannot work if you did
   not turn it on… I will update the documentation to reflect this in the next update.
 * Great to know about the SSH config, and glad they actually suggested something
   useful 😉
    -  This reply was modified 4 years, 1 month ago by [Kevin Pirnie](https://wordpress.org/support/users/kevp75/).
 *  Thread Starter [SRD75](https://wordpress.org/support/users/srd75/)
 * (@srd75)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/no-response-from-command-line-command/#post-15607433)
 * I turned on “Generate CSP?” @ `/wp-admin/admin.php?page=wpsh_settings#tab=content-
   security-headers`, and also turned on “Include WordPress Defaults?”.
 * I then ran `wp csp generate`, which produced a success message.
 * When I refreshed `/wp-admin/admin.php?page=wpsh_settings#tab=content-security-
   headers` I only saw the WordPress Defaults.
 *  Plugin Author [Kevin Pirnie](https://wordpress.org/support/users/kevp75/)
 * (@kevp75)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/no-response-from-command-line-command/#post-15608539)
 * [@srd75](https://wordpress.org/support/users/srd75/)
    I clearly state in the 
   description of the plugin… and I quote
 * >  Please make sure to run it a few times, I cannot guarantee that it will get
   > everything
 * Yes… in my specific tests, it did indeed get everything I needed it to get. I
   am not you, my sites are not yours, thus your mileage will vary from mine.
 * What I would recommend is to read through the documentation in the plugin, and
   compile your own Content Security Policy.
 * You need to keep in mind that a Content Security Policy will never be a one-shot-
   and-done type of configuration no matter what route you decide to use for your
   website, and you will be spending alot of time configuring, testing, reconfiguring,
   re-testing, etc…
 * Thanks

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘No response from command line command’ is closed to new replies.

 * ![](https://ps.w.org/security-header-generator/assets/icon-256x256.png?rev=3128304)
 * [Security Header Generator](https://wordpress.org/plugins/security-header-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/security-header-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/security-header-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/security-header-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/security-header-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/security-header-generator/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Kevin Pirnie](https://wordpress.org/support/users/kevp75/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/no-response-from-command-line-command/#post-15608539)
 * Status: resolved