[PR #699] [MERGED] feat: ssh jump server support (#49) (#95) #1017

Closed
opened 2026-03-03 01:07:18 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/certimate-go/certimate/pull/699
Author: @Lensual
Created: 5/17/2025
Status: Merged
Merged: 5/20/2025
Merged by: @fudiwei

Base: mainHead: feat-ssh-jumpserver


📝 Commits (3)

  • 4a8eaa9 feat: ssh jump server support
  • 36dd4ef update: update formSchema for jump server & fix username validate message
  • fe993b5 Merge branch 'main' into feat-ssh-jumpserver

📊 Changes

6 files changed (+267 additions, -23 deletions)

View changed files

📝 internal/deployer/providers.go (+25 -12)
📝 internal/domain/access.go (+14 -6)
📝 internal/pkg/core/deployer/providers/ssh/ssh.go (+80 -3)
📝 ui/src/components/access/AccessFormSSHConfig.tsx (+140 -2)
📝 ui/src/i18n/locales/en/nls.access.json (+4 -0)
📝 ui/src/i18n/locales/zh/nls.access.json (+4 -0)

📄 Description

动机

需要部署证书的目标服务器在内网,需要通过ssh跳板访问。

查阅issue发现 #49 #95 没有对应的PR。

特征

  1. SSH部署支持跳板机
  2. 跳板机支持多级

修改

  1. [BE] 通过修改现有的ssh deployer来实现跳板支持
  2. [BE] 目标服务器的sshClient改为使用net.Conn来创建,net.Conn可以由本机发起,也可以由跳板机的sshClient发起
  3. [BE] 扩展 domain.AccessConfigForSSHssh.DeployerConfig,用于跳板机配置。
  4. [FE] 在主机提供商 SSH部署 表单增加跳板机配置项
  5. [FE] 同步更新 i18n 文案

预览

image

image


🔄 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/certimate-go/certimate/pull/699 **Author:** [@Lensual](https://github.com/Lensual) **Created:** 5/17/2025 **Status:** ✅ Merged **Merged:** 5/20/2025 **Merged by:** [@fudiwei](https://github.com/fudiwei) **Base:** `main` ← **Head:** `feat-ssh-jumpserver` --- ### 📝 Commits (3) - [`4a8eaa9`](https://github.com/certimate-go/certimate/commit/4a8eaa9ffaf98c9ba6f13a6c2b16114df14dd2ab) feat: ssh jump server support - [`36dd4ef`](https://github.com/certimate-go/certimate/commit/36dd4ef3eb99944fa973a62c997b6750512181da) update: update formSchema for jump server & fix username validate message - [`fe993b5`](https://github.com/certimate-go/certimate/commit/fe993b54f3e0a8e59a077d1a46cb839f25c02142) Merge branch 'main' into feat-ssh-jumpserver ### 📊 Changes **6 files changed** (+267 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `internal/deployer/providers.go` (+25 -12) 📝 `internal/domain/access.go` (+14 -6) 📝 `internal/pkg/core/deployer/providers/ssh/ssh.go` (+80 -3) 📝 `ui/src/components/access/AccessFormSSHConfig.tsx` (+140 -2) 📝 `ui/src/i18n/locales/en/nls.access.json` (+4 -0) 📝 `ui/src/i18n/locales/zh/nls.access.json` (+4 -0) </details> ### 📄 Description # 动机 需要部署证书的目标服务器在内网,需要通过ssh跳板访问。 查阅issue发现 #49 #95 没有对应的PR。 # 特征 1. SSH部署支持跳板机 2. 跳板机支持多级 # 修改 1. [BE] 通过修改现有的ssh deployer来实现跳板支持 3. [BE] 目标服务器的`sshClient`改为使用`net.Conn`来创建,`net.Conn`可以由本机发起,也可以由跳板机的sshClient发起 4. [BE] 扩展 `domain.AccessConfigForSSH` 和 `ssh.DeployerConfig`,用于跳板机配置。 5. [FE] 在主机提供商 `SSH部署` 表单增加跳板机配置项 6. [FE] 同步更新 i18n 文案 # 预览 ![image](https://github.com/user-attachments/assets/1f76b62d-e2d5-4398-a2d8-2f9ce29f0415) ![image](https://github.com/user-attachments/assets/c6b35f2f-0f79-4553-ae45-7aa575c78fd4) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 01:07:18 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/certimate#1017
No description provided.