carlosdagos has quit [Quit: Connection closed for inactivity]
trcc has quit [Ping timeout: 244 seconds]
trcc has joined #nix-darwin
periklis has quit [Remote host closed the connection]
periklis has joined #nix-darwin
periklis has quit [Remote host closed the connection]
periklis has joined #nix-darwin
__Sander__ has joined #nix-darwin
trcc has quit [Remote host closed the connection]
trcc has joined #nix-darwin
trcc has quit [Remote host closed the connection]
trcc has joined #nix-darwin
trcc has quit [Remote host closed the connection]
trcc has joined #nix-darwin
trcc has quit [Ping timeout: 250 seconds]
trcc has joined #nix-darwin
trcc has quit [Ping timeout: 250 seconds]
trcc has joined #nix-darwin
trcc has quit [Remote host closed the connection]
trcc has joined #nix-darwin
trcc has quit [Ping timeout: 246 seconds]
trcc has joined #nix-darwin
nikivi has quit [Remote host closed the connection]
nikivi has joined #nix-darwin
nikivi has quit [Quit: ZNC is awesome]
nikivi has joined #nix-darwin
trcc has quit [Remote host closed the connection]
trcc has joined #nix-darwin
trcc has quit [Ping timeout: 250 seconds]
trcc has joined #nix-darwin
trcc has quit [Remote host closed the connection]
trcc has joined #nix-darwin
trcc has quit [Ping timeout: 252 seconds]
philr has quit [Ping timeout: 250 seconds]
__Sander__ has quit [Quit: Konversation terminated!]
trcc has joined #nix-darwin
trcc has quit [Remote host closed the connection]
trcc has joined #nix-darwin
trcc has quit [Ping timeout: 245 seconds]
periklis has quit [Ping timeout: 268 seconds]
trcc has joined #nix-darwin
trcc has quit [Remote host closed the connection]
trcc has joined #nix-darwin
trcc has quit [Ping timeout: 272 seconds]
<johnw>
I've asked this too many times, but how do I solve the problem that nix-build on a remote builder says "Host key verification failed.", even though I can ssh to the machine just fine?
<johnw>
it appears to be dying due to:
<johnw>
debug1: read_passphrase: can't open /dev/tty: Device not configured
<johnw>
although I can see that it's seen the right identity file, it knows it's there
<clever>
johnw: does the identity file have a passphrase on it?
<johnw>
yes, but that doesn't stop my other machine from doing the same thing...
<johnw>
I feel like I've solved this before, but I didn't take notes, unfortunately
<clever>
nix cant ask for a pw when using build slaves
<johnw>
clever: ok, then this is strange
<johnw>
machine A and B are basically clones of each other, using the same darwin.nix configuration
<johnw>
except that A uses B as a remote builder, and B uses A
<johnw>
running nix-build on A, with the same SSH key, causes builds to happen on B
<johnw>
running nix-build on B, with the same SSH key, gives me the error about the host key authentication failing
<clever>
what does `ssh-add -l` report?
<johnw>
there's something that I did to fix this on machine A, but I can't remember what
<johnw>
the agent has the key loaded on both machines
<clever>
singleuser or multiuser nix?
<johnw>
output from ssh-add -l is the same in both places
<johnw>
both are multiuser
<clever>
`sudo -i` and `ssh-add -l` ?
<johnw>
root is not running the agent on either machine
<johnw>
all the keys under ~root/.ssh have the same SHA512 hash
<clever>
cant think of anything else to check
<johnw>
ok, it was known_hosts
<johnw>
I copied A's known_hosts file onto B's
<johnw>
and then it worked
<clever>
ah
<clever>
thats solved by just running `ssh slave` as root