hashicorp / vagrant

Vagrant is a tool for building and distributing development environments.
https://www.vagrantup.com
Other
26.25k stars 4.43k forks source link

Remove keyboard-interactive authentication method #13194

Closed chrisroberts closed 1 year ago

chrisroberts commented 1 year ago

The keyboard-interactive authentication method was added due to a mis-reading hashicorp/vagrant#13008. In that issue it was reported that Vagrant wasn't properly connecting to a guest using password based authentication. However, upon further inspection of the debug output provided in that issue, the root cause was the guest sshd not being properly configured to allow password authentication.

The keyboard-interactive authentication method has been backed out as properly configured Vagrant boxes do not require interaction for authentication. This also resolves an issue introduced by the placement of the keyboard-interactive auth method which can result in authentication hanging waiting for user input before reaching key based authentication.

Fixes #13171 #13191