easyssh-proxy icon indicating copy to clipboard operation
easyssh-proxy copied to clipboard

ssh not working using password.

Open anannaya opened this issue 6 years ago • 1 comments

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

anannaya avatar May 17 '19 07:05 anannaya

Looks like issue is with keyboard interactive auth, tracked under https://github.com/golang/go/issues/32108

anannaya avatar May 26 '19 03:05 anannaya