Console access issues in M5

How did you solve it in the first place ?
This is how to use SSH keys for it.