Note --remote-ssh-config option
All checks were successful
CI / test (push) Successful in 1m43s

This commit is contained in:
Miguel Jacq 2026-01-16 11:35:53 +11:00
parent 45e1014523
commit 481a0c05a0
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9

View file

@ -191,7 +191,10 @@ description: "How Enroll works: harvest, manifest, modes, and configuration."
<div class="alert alert-secondary mt-3">
<div class="fw-semibold">Tip</div>
<div class="small mb-0">If you don't want/need sudo on the remote side, add <code>--no-sudo</code>. However, be aware that you may get a more limited harvest depending on permissions.</div>
<br />
<div class="small mb-0">If your remote user requires a password for sudo, pass <code>--ask-become-pass</code> or <code>-K</code> and you'll be prompted to enter the password. If you forget, Enroll will still prompt for the password if it detects it's needed, but will be slightly slower to do so.</div>
<br />
<div class="small mb-0">If your remote host requires additional SSH configuration that you've defined in your <code>~/.ssh/config</code>, pass <code>--remote-ssh-config ~/.ssh/config</code>. Enroll will understand how to translate the Host alias, IdentityFile, ProxyCommand, ConnectTimeout and AddressFamily values. You must still pass a value for <code>--remote-host</code> that matches the <code>Host</code> value of the entry in the SSH config file.</div>
</div>
</section>