Cannot log into my system with Server Auditor on iOS 10.

I've run into a frustrating problem trying to connect to my system using Server Auditor on my iPad.

I've created a SSH key pair in the app, and added the public key to my ~/.ssh/authorized_keys. When I try to connect, it gives me an error stating:

> Auth: using public key wasn't accepted

Now, I have hardened my SSH by turning off password authentication and not allowing root access, as laid out in the various security tutorials. I've also turned on RSAAuthentication and PubkeyAuthentication, and have restarted both the service and my server itself, just to be sure. With everything in place, I have no issues connecting from my desktop, yet I still get the 'public key wasn't accepted' error. And yes, I've triple checked that the public key generated by Server Auditor was indeed properly added to authorized_keys.

Any ideas? Because I'm not sure what else to try.

1 Reply

Oy, apparently I had to make an identity in the app. It wouldn't just accept the key, it had to be connected to a user (me), and then it worked. Pretty obtuse, but whatever, it works now. You can all safely ignore this. :D

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct