Using built-in SSH with Git on Windows 10

Starting with Windows 10 version 1803 a native version of OpenSSH is bundled and installed by default. If you are using posh-git you’ll notice that the Start-SshAgent command fails with an error:

unable to start ssh-agent service, error :1058
Error connecting to agent: No such file or directory

This is because by default the OpenSSH agent (ssh-agent) service is disabled. To enable it, open an elevated PowerShell window and run:

Set-Service -StartupType Manual ssh-agent

Now Start-SshAgent will work as it always has, however by default Git (for Windows) will continue to use the bundled OpenSSH package. This means that you are now running an ssh-agent that Git will not use.

Introducing FdbServer

As a side project, I’ve been working on my implementation of a FoundationDB client for .NET. I want to have tests to verify things are working properly, and for local development that isn’t such a problem since I usually have a FoundationDB server installed. However, when I want to run these tests on a build server I do not want to enforce installing FoundationDB in the build environment, things should just work. Also when people check out the repository and want to run the tests, they shouldn’t strictly need to have FoundationDB installed.

Hello world!

This is the first post on my blog! Let’s hope I can keep this up.

I’ll usually blog about things I’ve solved as a form of documentation, which I hope will help someone else as well.

Used technology

Since this is a technology blog, I’ll list the technology that powers this blog currently.

Hugo

The blog is powered by Hugo, which is a static site generator written in the Go programming language. It is really fast, and building this small blog at the moment takes roughly 100 milliseconds on my laptop.