[Nix-dev] What am I doing wrong with ssh-substitutor-hosts?

Jeffrey David Johnson jefdaj at gmail.com
Tue Apr 7 17:05:47 CEST 2015


Wow I feel silly. Thanks for pointing out the misspelling!
Now I get this error though:

download-via-ssh: /bin/sh: line 0: exec: bash: not found
download-via-ssh: ssh_exchange_identification: Connection closed by remote host
download-via-ssh: error: unexpected end-of-file
error: substituter ‘download-via-ssh’ died unexpectedly

If I ssh in manually bash is found fine.
Jeff

On Tue, 07 Apr 2015 11:45:12 +0200
Eelco Dolstra <eelco.dolstra at logicblox.com> wrote:

> Hi,
> 
> On 02/04/15 20:56, Jeffrey David Johnson wrote:
> 
> > I've got two computers with nixos, and I can ssh between them without a
> > password.  But if I do a nixos-rebuild with `--option ssh-substitutor-hosts
> > <hostname>` they still just download everything from cache.nixos.org. 
> 
> It's *substituter*, not substitutor.
> 
> Also, make sure you're root or a user listed in ‘trusted-users’ in nix.conf.
> 
> -- 
> Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev


More information about the nix-dev mailing list