From ed15dfcf31ec35c58f5a44d1d8adf5048da67ea6 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 3 Dec 2019 21:59:09 +0100 Subject: machine: ssh: can include the host key. * gnu/machine/ssh.scm ()[host-key]: New field. (machine-ssh-session): Pass #:host-key to 'open-ssh-session'. * doc/guix.texi (Invoking guix deploy): Document it. --- doc/guix.texi | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc') diff --git a/doc/guix.texi b/doc/guix.texi index c1ce5bc896..7d50f31d20 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -26447,6 +26447,18 @@ keyring. @item @code{identity} (default: @code{#f}) If specified, the path to the SSH private key to use to authenticate with the remote host. + +@item @code{host-key} (default: @code{#f}) +This should be the SSH host key of the machine, which looks like this: + +@example +ssh-ed25519 AAAAC3Nz@dots{} root@@example.org +@end example + +When @code{host-key} is @code{#f}, the server is authenticated against +the @file{~/.ssh/known_hosts} file, just like the OpenSSH @command{ssh} +client does. + @end table @end deftp -- cgit v1.2.3