I'm trying to connect to a server via ssh. I read that in a previous discussion it was said you needed to use PEM, so I generated the key as:
ssh-keygen -m PEM -t rsa -b 409
I did not put a passphrase on the keys, then transferred the files to Textastic on my iPad and put them under an ssh folder. I then added the public key to the authorized_keys file in my server. When I try to connect with ssh, it gives the error:
ERROR: Public key authentication failed: Invalid signature for supplied public key, or bad username/public key combination.
I am not sure why that is the case since I followed the instructions to have the key in PEM format, I double checked my username and it's correctly typed, and the host name is also correctly typed (when I normally ssh from my computer I use ssh -i ~/.ssh/id_rsa username@hostname). Any help would be amazing.
Customer support service by UserEcho