Browser SSH Private Keys not working

What is the proper key format to use for the Browser SSH application? I’ve tried PEM and open SSH, but I don’t see what the accepted key formats are in the documentation. no matter what I put in, the keys fail and they work from my usual terminal clients. Any help would be appreciated.

Error: Wrong passphrase or invalid/unrecognized private key file format

Dear adam87,
Following are the suggestions that you could try:

  1. Create a new private/public key-pair from scratch. Ensure you have set up a correct password.
    You may also generate a new key with the option -m PEM (also, ssh-keygen -m PEM).
    You can convert your key with the option ssh-keygen -e -m PEM -f PathToKeyfile
  2. Add PasswordAuthentication yes to the sshd_config file on the server.
  3. Check the fle format.
    If your private key starts with -----BEGIN OPENSSH PRIVATE KEY----- it is the wrong type (RFC4716),
    If your private key starts with -----BEGIN RSA PRIVATE KEY----- it might be the correct type (PEM)

Hope this helps you get a few steps closer to resolve the issue. Thank you. Please let me know if there is anything else. Thank you.

1 Like