What to do if the using Keyboard-interactive authentication appears in our FreeBSD.
We restarted FreeBSD in the virtual machine. Terminal operation: Vi/etc/ssh/sshd_config
entered the VI interface. Start looking for #permitrootlogin No. Enter a search character on the keyboard. namely:/. You can enter permit after/. You will see that the cursor has moved to what you are looking for. When you see that the cursor has moved to what you are looking for. Move around with the top and bottom keys. Move to the front of this line. There is a # key. Get rid of this. That is, the X key on the dot keyboard. To delete. Click the next key on the keyboard to move to: space No will no delete. That is, the X key removes the no key. Change to Yes. You can do it. Then follow the procedure just now. Continue to find #passwordauthentication No. Also follow the method you have just done to remove the # first. Move the cursor to the no place. Change to Yes. Then click ESC and enter shift+:. Then enter the wq! on the keyboard to complete, and then appear www# this thing. Input: Reboot to reboot. Then enter your IP address from the putty. Enter the putty. Input: Root. Enter your password again and no such situation will occur again.
From http://blog.sina.com.cn/s/blog_942cfecd0101315j.html