I've created a SSH authentication key (with
ssh-keygen) in two different servers, both with a useful comment, but the public key of one server has
== between the key and the comment, while the other has no separator at all.
Is this right?
You SSH key is encoded in Base 64. This format is commonly used in cryptography (and beyond) to store binary information in ASCII format.
And, in base64, the '=' sign is a padding character, with a very specific meaning:
In fact, there is no separator between the key and the comment. SSH know that the public key is composed of 3 things:
The presence of a space at the end of the public key is the separator between the key and the comment. The equal '=' sign you are seeing simply indicates a padding at the end of the public key.