What's new in 7.10rc6 (2023-Jun-13 10:52):
*) ssh - fixed RouterOS SSH client login when using a key (introduced in v7.9);
This seemed to be fixed at first, but if you import both the private and public key on both routers, then the authentication still fails, eg:
Execute on R1:
/user/add group=full name=adminssh
/user/ssh-keys/private/import user=adminssh private-key-file=key
Execute on R2:
/user/add group=full name=adminssh
/user/ssh-keys/import user=adminssh public-key-file=key.pub
R1 could connect to R2.
However:
Executing this on *both* R1 and R2 (so they can both connect to each other):
/user/add group=full name=adminssh
/user/ssh-keys/private/import user=adminssh private-key-file=key
/user/ssh-keys/import user=adminssh public-key-file=key.pub
Now R1 can't connect to R2, and R2 can't connect to R1.
It seems to break when you add the same private key to the second router. What's even more strange is that when you then remove the private key to make it like it was before when it worked, it still doesn't work and you need to start all over