[GH-ISSUE #615] [Bug] scp 证书key到远程服务器失败,证书pem是成功的 #410

Closed
opened 2026-03-03 01:03:06 +03:00 by kerem · 1 comment
Owner

Originally created by @ChinaNanSen on GitHub (Apr 14, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/615

软件版本 / Release Version

0.3.7

缺陷描述 / Description

upload pem是成功的,到key的时候就失败

复现步骤 / Steps to reproduce

upload pem是成功的,到key的时候就失败

日志 / Logs

# 2025-04-14 19:03:03]
ready to start ...
申请证书
[2025-04-14 19:03:03]
ready to apply ...
[2025-04-14 19:03:08]
apply completed
部署证书
[2025-04-14 19:03:08]
ready to deploy ...
[2025-04-14 19:03:08]
ssh connected
[2025-04-14 19:03:08]
ssl certificate file uploaded
path:
"/etc/nginx/cert/certimate.pem"
[2025-04-14 19:03:08]
failed to deploy
[2025-04-14 19:03:08]
failed to upload private key file: failed to write to remote file: scp: error creating ssh session read tcp 172.20.16.115:38296->172.20.16.126:22: use of closed network connection

其他 / Miscellaneous

No response

Originally created by @ChinaNanSen on GitHub (Apr 14, 2025). Original GitHub issue: https://github.com/certimate-go/certimate/issues/615 ### 软件版本 / Release Version 0.3.7 ### 缺陷描述 / Description upload pem是成功的,到key的时候就失败 ### 复现步骤 / Steps to reproduce upload pem是成功的,到key的时候就失败 ### 日志 / Logs <details> ```console # 2025-04-14 19:03:03] ready to start ... 申请证书 [2025-04-14 19:03:03] ready to apply ... [2025-04-14 19:03:08] apply completed 部署证书 [2025-04-14 19:03:08] ready to deploy ... [2025-04-14 19:03:08] ssh connected [2025-04-14 19:03:08] ssl certificate file uploaded path: "/etc/nginx/cert/certimate.pem" [2025-04-14 19:03:08] failed to deploy [2025-04-14 19:03:08] failed to upload private key file: failed to write to remote file: scp: error creating ssh session read tcp 172.20.16.115:38296->172.20.16.126:22: use of closed network connection ``` </details> ### 其他 / Miscellaneous _No response_
kerem 2026-03-03 01:03:06 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@ChinaNanSen commented on GitHub (Apr 15, 2025):

二进制部署

<!-- gh-comment-id:2804131371 --> @ChinaNanSen commented on GitHub (Apr 15, 2025): 二进制部署
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#410
No description provided.