diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-03-02 22:39:48 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-11-25 23:44:20 +0100 |
commit | 21531add3205e400707c8fbfd841845f9a71863a (patch) | |
tree | 8a88aa7b2fe01f5707bcf130fe09d54c0a95d33f /HACKING | |
parent | 6634180f9eabc70cdc5bc8e9ce2ff0f9250625bc (diff) | |
download | guix-21531add3205e400707c8fbfd841845f9a71863a.tar.gz guix-21531add3205e400707c8fbfd841845f9a71863a.zip |
offload: Use Guile-SSH instead of GNU lsh.
* guix/scripts/offload.scm (<build-machine>)[ssh-options]: Remove.
[host-key, host-key-type]: New fields.
(%lsh-command, %lshg-command, user-lsh-private-key): Remove.
(user-openssh-private-key, private-key-from-file*): New procedures.
(host-key->type+key, open-ssh-session): New procedures.
(remote-pipe): Remove 'mode' parameter. Rewrite in terms of
'open-ssh-session' etc. Update users.
(send-files)[missing-files]: Rewrite using the bidirectional channel
port.
Remove call to 'call-with-compressed-output-port'.
(retrieve-files): Remove call to 'call-with-decompressed-port'.
(machine-load): Remove exit status logic.
* doc/guix.texi (Requirements): Mention Guile-SSH.
(Daemon Offload Setup): Document 'host-key' and 'private-key'. Show the
default value on each @item line.
* m4/guix.m4 (GUIX_CHECK_GUILE_SSH): New macro.
* config-daemon.ac: Use 'GUIX_CHECK_GUILE_SSH'. Set
'HAVE_DAEMON_OFFLOAD_HOOK' as a function of that.
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions