[PR #36] [CLOSED] Hook for deploying certs via ssh #676

Closed
opened 2025-12-29 01:28:24 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dehydrated-io/dehydrated/pull/36
Author: @digint
Created: 12/9/2015
Status: Closed

Base: masterHead: ssh_hook


📝 Commits (2)

  • 5406210 added ssh_hook.sh and ssh_filter_letsencrypt.sh: hook for deploying certs via ssh using ForceCommand in sshd_config (or command=... in authorized_keys)
  • 9b98073 Merge remote-tracking branch 'upstream/master' into ssh_hook

📊 Changes

2 files changed (+168 additions, -0 deletions)

View changed files

ssh_filter_letsencrypt.sh (+122 -0)
ssh_hook.sh (+46 -0)

📄 Description

First of all, thanks for this wonderful script!

I implemented a hook for deploying the certificates remotely via ssh, in two parts:

  • ssh_hook.sh: the HOOK to define in config.sh.
  • ssh_filter_letsencrypt.sh: SSH ForceCommand to define in sshd_config (or command="..." in authorized_keys) on the remote webserver.

If you like this patch, I will gladly write some documentation for it (something like the documentation of the ssh script I wrote for btrbk: https://github.com/digint/btrbk#setting-up-ssh).

Maybe it would be good to introduce some "contrib" folder for scripts like these, let me know what you think!


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dehydrated-io/dehydrated/pull/36 **Author:** [@digint](https://github.com/digint) **Created:** 12/9/2015 **Status:** ❌ Closed **Base:** `master` ← **Head:** `ssh_hook` --- ### 📝 Commits (2) - [`5406210`](https://github.com/dehydrated-io/dehydrated/commit/54062107e44d7c2a74fdf25e967071dbd36697eb) added ssh_hook.sh and ssh_filter_letsencrypt.sh: hook for deploying certs via ssh using ForceCommand in sshd_config (or command=... in authorized_keys) - [`9b98073`](https://github.com/dehydrated-io/dehydrated/commit/9b98073dc6c6fe5bf7de5040ea2a50a82b329c8f) Merge remote-tracking branch 'upstream/master' into ssh_hook ### 📊 Changes **2 files changed** (+168 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `ssh_filter_letsencrypt.sh` (+122 -0) ➕ `ssh_hook.sh` (+46 -0) </details> ### 📄 Description First of all, thanks for this wonderful script! I implemented a hook for deploying the certificates remotely via ssh, in two parts: - **ssh_hook.sh**: the HOOK to define in config.sh. - **ssh_filter_letsencrypt.sh**: SSH ForceCommand to define in sshd_config (or command="..." in authorized_keys) on the remote webserver. If you like this patch, I will gladly write some documentation for it (something like the documentation of the ssh script I wrote for btrbk: https://github.com/digint/btrbk#setting-up-ssh). Maybe it would be good to introduce some "contrib" folder for scripts like these, let me know what you think! --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 01:28:24 +01:00
adam closed this issue 2025-12-29 01:28:24 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#676