ssh: Add 'authenticate-server*' and use it for offloading.
authorLudovic Courtès <ludo@gnu.org>
Tue, 3 Dec 2019 20:28:23 +0000 (21:28 +0100)
committerLudovic Courtès <ludo@gnu.org>
Wed, 4 Dec 2019 17:16:08 +0000 (18:16 +0100)
commit114dcb429a812911633a9fe5a9ee7d70dd28b353
tree0e381f5324a05ade7b152c422de98fdd08f90625
parentd75540473f3f460007f45efab5122c39aa4130ff
ssh: Add 'authenticate-server*' and use it for offloading.

* guix/scripts/offload.scm (host-key->type+key): Remove.
(open-ssh-session): Replace server authentication code with a call to
'authenticate-server*'.
* guix/ssh.scm (host-key->type+key, authenticate-server*): New
procedures.
guix/scripts/offload.scm
guix/ssh.scm