Merge pull request #161 from desimone/patch-2

helper/ssh: equivalent loop
pull/163/head
Mitchell Hashimoto 12 years ago
commit 08c1a19cbf

@ -18,7 +18,7 @@ func PasswordKeyboardInteractive(password string) ssh.KeyboardInteractiveChallen
// Just send the password back for all questions
answers := make([]string, len(questions))
for i, _ := range answers {
for i := range answers {
answers[i] = string(password)
}

Loading…
Cancel
Save