macOS ssh can't connect to a Linux VM
I have a Linux VM (Fedora 39 Xfce Spin) created by Parallels Desktop on my Mac, I want to connect to this VM using ssh. But when I tried ssh in Terminal.app, ssh requires my VM's password again and again, even though I've entered the correct password of my VM:
% ssh vmuser@<vm-addr>
(vmuser@<vm-addr>) Password:
(vmuser@<vm-addr>) Password:
......
More Details:
- On my Mac: System Preferences > Sharing > Remote Login is on.
- On my Linux VM: `PasswordAuthentication yes` in `/etc/ssh/sshd_config`.
MacBook Air 13″, macOS 14.1