ssh not working using password.
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- go
- 领域
- networking
调研方向
首先,使用所示的 easyssh.MakeConfig 重现故障,包括 bastion 代理和密码身份验证,并检查 SSH 握手如何选择身份验证方法。当相同的 Go 配置可以通过 bastion 完成身份验证,并使用密码连接到目标主机时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
I am able to do ssh using the password, But not using the go code.
username = "xxxxxxx"
passwords = []string{"026aaa9f-01fa-0850-095c-3d3daa0a4bd3", "4e58232c-2b79-cf4b-5e98-2bd6f0ba4946"}
fmt.Println(bastiondc)
fmt.Println(dchost)
easyconfig := &easyssh.MakeConfig{
User: username,
Server: dchost,
Port: "22",
Password: passwords[1],
Proxy: easyssh.DefaultConfig{
User: username,
Server: bastiondc,
Port: "22",
Password: passwords[0],
},
}
ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
goroutine 1 [running]:
- 主要语言
- Go
- 星标
- 349
- 派生
- 64
- 平均合并
- 2 小时 29 分钟
- 30 天内合并 PR
- 2
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
appleboy/easyssh-proxy 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 42/100
appleboy/easyssh-proxy#100 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 30/100
appleboy/easyssh-proxy#92 ·
-
难度 3/5 1-2 天 新手友好度 35/100
appleboy/easyssh-proxy#88 ·
-
难度 2/5 1-3 小时 新手友好度 25/100
appleboy/easyssh-proxy#71 ·
-
难度 3/5 1-2 天 新手友好度 25/100
appleboy/easyssh-proxy#69 · 1 条评论 ·
查看 appleboy/easyssh-proxy 的全部 Issue
相似的 Issue
-
area: global bug dx priority: low
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
grafana/mcp-grafana#1267 ·
维护者通常 1 天内回复
-
automation models
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
coverage-gap good-first-pattern help wanted
难度 2/5 1-3 小时 新手友好度 78/100
GoogleCloudPlatform/k8s-aibom#114 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
txn2/mcp-data-platform#1984 ·
维护者通常 1 天内回复