Auth. using public key wasn't accepted
I have ssh access to the server successfully in pc, but not in app.
What could be the problem and how could i fix this?
There can be 2 reasons:
1. Unsupported key type.
Termius iOS doesn’t support ECDSA and ED25519 keys now.
2. Incorrect import.
Please check that you have a private part of the key on the client (app) and the public part is exported to the host.
5 commentsComments are closed
Ståle Raknes commented
+1 Made keypair in app, added pub key to .ssh/authorized_keys on server. Does not work...
I have the same issue on my iphone(ios 10.3.3)
the message is : Auth. using public key wasn't accepted.
I can connect to the server via termius desktop using the same key file, the private key content like below , could you please advise what's wrong?
Make sure that your permissions (on the server) to the ~/.ssh directory are 700.
Me too! I can use term application inside macOS and login in to my server, but I downloaded this app from mac store, run it, can not login any server.
Please provide us with more details:
1. What type of the key do you use?
2. How exactly your host is configured?
3. Have you successfully connected from Termius desktop app, or from default terminal?
4. What issue do you have? Could you please attach a screenshot?