invalid privatekey

Questions and answers
Posts: 1
Joined: Sat May 28, 2022 3:46 am

invalid privatekey

Post by ihtarlik »

I used ssh-keygen to create a public/private keypair on my server to use for logging in without a password. I copied the id_rsa keyfile to my android phone, and added the text from to ~/.ssh/authorized_keys.

When I go onto PowerFTP Pro, I edit host, select Login Mode=SSH key, and locate id_rsa on my device. However, when I attempt to login to server, it fails with error:

invalid privatekey
Failed to create connection

When I load the id_rsa file into ConnectBot, it loads properly and I can login without using a password. This is how I know the keypair is properly authorized on the server for the username. Yet PowerFTP Pro fails. Any ideas?