Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssh not working using password. #48

Open
anannaya opened this issue May 17, 2019 · 1 comment
Open

ssh not working using password. #48

anannaya opened this issue May 17, 2019 · 1 comment

Comments

@anannaya
Copy link

anannaya commented May 17, 2019

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
Copy link
Author

Looks like issue is with keyboard interactive auth, tracked under golang/go#32108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant