SSH key connection failed
Hi, I'm trying to connect to Windows 10 ssh server via ConnectBot client app on Anoroid phone. I made a key and configure a host setting to my Windows desktop. The problem is when I attempt connection I got error message "Authentication method 'public key' with key 'key1' failed" and this app goes through alternative method with password.
What I did to solve problem is the followings
- Changed permission of .ssh folder to Read & execute, List folder content, Read and Write and authorized_keys file to Read and Write without any other permission for anyone else.
- Uncomment "PubkeyAuthentication yes" code in ..\Program Data\ssh\sshd_config file.
And I still got same error message. But password method works well so I think it's not kind of firewall thing. Can anyone tell me an advice? Ed25519 method is used for key generation and my phone version is Android 12.