Category Archives: Computing

Using ssh-agent with Windows Subsystem for Linux

Update: I’ve since revised these instructions in this post.

This is fairly basic, but you never know what might be useful to somebody!

Due to the fact that WSL doesn’t bootstrap itself with a normal init/systemd process it can be a bit frustrating to work with SSH keys.

Thankfully the ssh-agent command is designed to set up an environment for key management without much hassle. The trivial method of doing this is to insert the following command into your ~/.bashrc or ~/.profile script:

# start ssh-agent
eval `ssh-agent`

This will initialize a socket to manage your keys and you can then use the ssh-add command as you would on a normal Linux system.

For completeness, stick the following in your ~/.bash_logout script:

# unset ssh-agent
ssh-agent -k

This will remove the socket and unset the environment so that your keys don’t remain loaded after you close your WSL session using exit or CTRL-D.

ImageGlass Image Viewer

I just finished upgrading my old PC, Hrothgar. I’ve been using IrfanView since my university days as an image viewer, and while it’s still more than adequate, I decided that I’d use this as an opportunity to see if there’s anything else out there that I like.

Enter ImageGlass. I’ve only been using it for a day or so, but thus far there’s a lot to like and nothing that I don’t like. I’m not 100% certain if I’ll completely replace IrfanView, but I’m definitely leaning in that direction. I particularly like the customization options and the UI is clean and simple and it only uses about 12MB of memory on Windows 10.

Check it out if on the lookout for a simple, fast image viewer on Windows.

The Second Computer I Ever Used

In a continuation of the theme, The 8-Bit Guy’s “Commodore History Part 3 – The Commodore 64” is great technical breakdown of the second computer I ever used. It’s really interesting to understand the technical reasons for the various features and limitations of a computer that you used as a child. The 8-Bit Guy’s channel in general is quite good, it’s particularly interesting if you have a technical background but aren’t really familiar with the specs and conventions of late 1970s to mid-1980s home computing.

Continue reading

The First Computer I Ever Used

My elementary school had a number of Apple II, Apple II+, and Apple IIe computers in the early 1980s. This was my first exposure to computers in general and I’ve only started to appreciate how fortunate I was to have a few teachers who were quite interested in computers even though there wasn’t really any computer class offered until I was in high school.

In my search for interesting info on the Apple II, I came across this really interesting video from the 8-Bit Guy walking through a restoration of an Apple II+.

Continue reading