ssh – Arrow keys not working when using PuTTY plink command connect CentOS 7 in windows terminal?

I want to connect CentOS7 in Windows Terminal, when I use command: ssh root@192.168.50.160, the arrow keys works well, but ssh command can’t enter password automatically.

So, I use puTTY plink command: plink -ssh 192.168.50.160 -l root -pw password, but the arrow keys is not working.

How to fix this? Or is there another way to connect to linux can enter password automatically in Windows Terminal?