easyssh-proxy
easyssh-proxy copied to clipboard
ssh not working using password.
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]:
Looks like issue is with keyboard interactive auth, tracked under https://github.com/golang/go/issues/32108