diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/guix.texi | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index b194dab4b89..14bcc5817b0 100644 --- a/doc/guix.texi +++ b/doc/guix.texi | |||
| @@ -50346,6 +50346,8 @@ accepts store items it receives from the coordinator: | |||
| 50346 | # guix archive --authorize < coordinator-public-key.txt | 50346 | # guix archive --authorize < coordinator-public-key.txt |
| 50347 | @end example | 50347 | @end example |
| 50348 | 50348 | ||
| 50349 | @cindex @command{guix deploy, sudo configuration} | ||
| 50350 | @anchor{guix-deploy-via-sudo} | ||
| 50349 | @code{user}, in this example, specifies the name of the user account to log in | 50351 | @code{user}, in this example, specifies the name of the user account to log in |
| 50350 | as to perform the deployment. Its default value is @code{root}, but root | 50352 | as to perform the deployment. Its default value is @code{root}, but root |
| 50351 | login over SSH may be forbidden in some cases. To work around this, | 50353 | login over SSH may be forbidden in some cases. To work around this, |
| @@ -50562,7 +50564,17 @@ small to bootstrap a Guix system from. | |||
| 50562 | 50564 | ||
| 50563 | @item @code{ssh-key} (default: @code{#f}) | 50565 | @item @code{ssh-key} (default: @code{#f}) |
| 50564 | If specified, the file name of the SSH private key to use to | 50566 | If specified, the file name of the SSH private key to use to |
| 50565 | authenticate with the remote host. | 50567 | authenticate with the remote host. If left unspecified, a temporary SSH |
| 50568 | key is used during the early provisioning of the machine, after which | ||
| 50569 | the authentication with the final machine is handled by your SSH client | ||
| 50570 | or agent. It's a good idea to have your public SSH key authorized | ||
| 50571 | declaratively in the @code{operating-system} specification provided, via | ||
| 50572 | the @code{authorized-keys} field of the @code{openssh-configuration} | ||
| 50573 | record. To be able to run @samp{guix deploy} after the initial | ||
| 50574 | provisioning is done, an SSH connection to the root account or a | ||
| 50575 | password-less sudo configuration is needed (@pxref{guix-deploy-via-sudo, | ||
| 50576 | Invoking guix deploy}). For the later, you must also explicitly specify | ||
| 50577 | the @code{user} field, which otherwise defaults to @code{"root"}. | ||
| 50566 | 50578 | ||
| 50567 | @item @code{ssh-public-key} (default: extracted from @code{ssh-key}) | 50579 | @item @code{ssh-public-key} (default: extracted from @code{ssh-key}) |
| 50568 | If specified, either a public key as returned by | 50580 | If specified, either a public key as returned by |
