mirror of
https://github.com/certimate-go/certimate.git
synced 2026-04-26 05:05:56 +03:00
[GH-ISSUE #1011] [Bug] failed to create ssh client: ssh: handshake failed: unexpected keyboard interactive question [] #695
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#695
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 @HyWell on GitHub (Oct 28, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/1011
软件版本 / Release Version
v0.4.1
缺陷描述 / Description
#747 是这个问题的衍生,现在esxi的passwordauthentication为no的情况下,执行,会提示failed to create ssh client: ssh: handshake failed: unexpected keyboard interactive question []。
根据ai及材料搜索提示 internal/pkg/core/deployer/providers/ssh/ssh.go:
if len(questions) == 1 {
return []string{password}, nil
}
处理太严格了,只允许 问题长度为 1,否则就报错,由于现在不知道如何测试,暂时只能提供这些信息
复现步骤 / Steps to reproduce
日志 / Logs
其他 / Miscellaneous
No response
贡献 / Contribution
@fudiwei commented on GitHub (Oct 30, 2025):
贴一下 sshd 完整配置以及版本。
@HyWell commented on GitHub (Oct 31, 2025):