about summary refs log tree commit diff
path: root/src/libstore/ssh.cc
AgeCommit message (Collapse)AuthorFilesLines
2019-02-05 Revert "Restore parent mount namespace before executing a child process"Eelco Dolstra1-3/+0
This reverts commit a0ef21262f4d5652bfb65cfacaec01d89c475a93. This doesn't work in 'nix run' and nix-shell because setns() fails in multithreaded programs, and Boehm GC mark threads are uncancellable. Fixes #2646.
2018-11-13 Restore parent mount namespace before executing a child processEelco Dolstra1-0/+3
This ensures that they can't write to /nix/store. Fixes #2535.
2018-08-03 SSHMaster: Bypass SSH when connecting to localhostEelco Dolstra1-7/+15
This is primarily useful for testing since it removes the need to have SSH working.
2018-03-20 SSHMaster: Optionally pass -v to sshEelco Dolstra1-0/+4
2017-08-16 Disallow SSH host names starting with a dashEelco Dolstra1-0/+11
2017-07-30 Replace Unicode quotes in user-facing strings by ASCIIJörg Thalheim1-2/+2
Relevant RFC: NixOS/rfcs#4 $ ag -l | xargs sed -i -e "/\"/s/’/'/g;/\"/s/‘/'/g"
2017-05-02 build-remote: Ugly hackery to get build logs to workEelco Dolstra1-0/+2
The build hook mechanism expects build log output to go to file descriptor 4, so do that.
2017-03-21 Honor $NIX_SSHOPTS againEelco Dolstra1-9/+12
NixOps needs this.
2017-03-03 SSHMaster: Make thread-safeEelco Dolstra1-8/+14
2017-03-03 Improve SSH handlingEelco Dolstra1-0/+93
* Unify SSH code in SSHStore and LegacySSHStore. * Fix a race starting the SSH master. We now wait synchronously for the SSH master to finish starting. This prevents the SSH clients from starting their own connections. * Don't use a master if max-connections == 1. * Add a "max-connections" store parameter. * Add a "compress" store parameter.