Running commands remotely: On restrictive webhost#425
Merged
danielbachhuber merged 3 commits intowp-cli:mainfrom Dec 13, 2022
Merged
Running commands remotely: On restrictive webhost#425danielbachhuber merged 3 commits intowp-cli:mainfrom
danielbachhuber merged 3 commits intowp-cli:mainfrom
Conversation
Contributor
porg
commented
Dec 13, 2022
- Added a 4th method which works on restrictive webhosts too:
- Remote non-interactive shell resolves aliases and runs wp as alias with php.
- Transformed the other 3 methods from free text to sections with a headline.
- All headlines created during this edit now also produce nice HTML anchor links intended as permalinks - Internal jumplinks, which I already make use of. - And to guide externals visitors directly to their recommended method (chat, email, social media)
- I tried to give the headlines a timeless and long lasting name as good as possible.
- Please treat them as permalinks.
- If wrong, then please correct them now, before they start their lifecycle as permalinks/deeplinks.
- It took me 1.5 working days of research and trial and error until I finally found a way to run wp-cli remotely on my webhost.
- Eventually was glad when I found a way. And I want to share this!
- Also put quite some effort into this writeup.
- I hope that this makes it to the website.
- Please feel free to further correct / amend. You are the expert(s)!
- Added a 4th method which works on restrictive webhosts too:
- Remote non-interactive shell resolves aliases and runs wp as alias with php.
- Transformed the other 3 methods from free text to sections with a headline.
- All headlines created during this edit now also produce nice HTML anchor links intended as permalinks
- Internal jumplinks, which I already make use of.
- And to guide externals visitors directly to their recommended method (chat, email, social media)
- I tried to give the headlines a timeless and long lasting name as good as possible.
- Please treat them as permalinks.
- If wrong, then please correct them now, before they start their lifecycle as permalinks/deeplinks.
- It took me 1.5 working days of research and trial and error until I finally found a way to run wp-cli remotely on my webhost.
- Eventually was glad when I found a way. And I want to share this!
- Also put quite some effort into this writeup.
- I hope that this makes it to the website.
- Please feel free to further correct / amend. You are the expert(s)!
1 task
danielbachhuber
approved these changes
Dec 13, 2022
Member
danielbachhuber
left a comment
There was a problem hiding this comment.
This is great, @porg — thank you!
Contributor
Author
Please restore the extra spaces!
Apart from this
|
Member
|
@porg Sorry about that! Want to fix them in a follow-up PR? I forget how often this syncs, but I think it's at least once a day. |
Contributor
Author
I am so proud that this my contribution makes it online 🙂 |
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.