DBCDK/morph

Fails to connect to remote builder

dminuoso opened this issue · 1 comments

Im using a standard remote builder config as per https://nixos.wiki/wiki/Distributed_build

In my ~/.ssh/config I have setup a host named builder, but when I build with morph build ./deploy, I get the following error
cannot build on 'ssh://builder': cannot connect to 'builder': ssh: Could not resolve hostname builder: Name or service not known

I tried setting SSH_CONFIG_FILE=~/.ssh/config to no avail.

Am I doing something obviously wrong?

After a long while of pondering and debugging I realized what the problem is.

I was running the nix-daemon and forgot to put the config in /root/.ssh/config.

Not a morph issue, sorry for the inconvenience!