braindump

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.

more NVMe storage

Added this to my server:

  • Supermicro 2-Port NVme HBA AOC-SLG3-2M2-O
  • 1000GB Samsung 960 Evo M.2 2280 NVMe PCIe 3.0 x4 32Gb/s 3D-NAND TLC Toggle

My braindump follows.

agents, putty, shared home and Windows

On customer site, I am quite often forced to use a Windows machine to access the Linux boxes I work on. This means I will not have an ssh-agent (nor a gpg-agent) running on the machine I’m sitting at (the Win box) and the Linux boxes I access via putty tend to have shared home directories.

Long story short, I need one agent per Linux box taking into account that I may have more than one login shell to the Linux box (i.e. multiple putty windows) and config files including the hostname.