braindump

ThinkPad X270 RAM upgrade

Since 32 GiB SO-DIMMs are cheap at the moment, I decided to try an upgrade my ThinkPad X270 from it’s current 16 GiB RAM to 32.

Add an SSH Key to Ubiquiti EdgeRouter

I had a bit of trouble adding an ssh key to my Ubiquiti EdgeRouter 6P. I kept getting

Not a valid key file format (see man sshd) at /opt/vyatta/sbin/vyatta-load-user-key.pl line 96, <$in> line 1.

Turned out that the key needs to:

  • have a comment
  • not have any spaces in the comment
  • be on a line of it’s own in the imported file (e.g. do not add a newline at the end)

for loadkey to accept it.