Issue #600 resolved

Newlines in SSH keys

Eirik Stavem
created an issue

Seems we have a problem when pasting SSH keys with newlines (and possibly other characters) after ssh-rsa/ssh-dss.

To reproduce: - Generate a valid ssh-key, copy to an editor to make sure there's a newline after ssh-rsa/ssh-dss, e.g.:



Click "add key". You'll get a warning saying this is not a valid SSH-key.

Comments (8)

  1. Eirik Stavem reporter
    • changed status to open

    Mehmet, could you take a look at this?

    Perhaps we just need to make the input box a textarea and trim whitespace when inserting the key to avoid this problem?

  2. Log in to comment