Official Laboratory Discussion

This is my first hackthebox :smiley:

I got a reverse shell and have given myself admin in the G***b and found the privkey , but I’m getting
Load key "***": invalid format despite file saying it’s OpenSSH private key

Is the privkey a red herring or am I doing something wrong with it? Just looking for a small hint.

EDIT: hmm well I managed to get it to work… but I have no idea why the step that I did was needed