mirror of
https://github.com/certimate-go/certimate.git
synced 2026-04-27 05:35:49 +03:00
[GH-ISSUE #191] [Feature] 希望在添加ssh部署的时可以识别宿主机hosts文件中的解析内容 #118
Labels
No labels
announcement
backlog
bug
declined
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
invalid
pull-request
question
stale
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/certimate#118
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ljwtorch on GitHub (Oct 14, 2024).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/191
功能描述
授权管理页面——SSH部署——服务器Host这个部分可以识别自定义的hosts名称;
例如我对宿主机/etc/hosts文件进行编辑:
然后在服务器host这一个框中输入test-ecs,目前会提示:

我希望"test-ecs"能正常输入,并解析为10.1.1.110这个ip
动机
可以通过配置宿主机的hosts文件,避免因后期服务器ip更改导致配置需要重新修改的情况
@usual2970 commented on GitHub (Oct 17, 2024):
这里可以填域名的,自定义的 hosts 改成域名形式就可以了