From my experience with ssh the key is always exactly 1(!) line. I wonder if you have opened it with a text editor and broken up this one line into several ones (which would explain the "line 4 parsing error"). Another possibility is you have copied via cut&paste and this has broken the lines up at window boundaries.