appleboy / appleboy/easyssh-proxy

ssh not working using password.

Open
#48 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
349
Forks
64
PR merge metrics
No merged PRs in 30d

Description

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]:

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.