Skip to content

Commit

Permalink
T2405: add Git support to commit-archive
Browse files Browse the repository at this point in the history
  • Loading branch information
c-po committed Nov 19, 2023
1 parent 403bca3 commit 643432e
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions docs/cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -858,24 +858,27 @@ be ``config.boot-hostname.YYYYMMDD_HHMMSS``.

.. cfgcmd:: set system config-management commit-archive location <URI>

Specify remote location of commit archive as any of the below
:abbr:`URI (Uniform Resource Identifier)`
Specify remote location of commit archive as any of the below
:abbr:`URI (Uniform Resource Identifier)`

* ``scp://<user>:<passwd>@<host>:/<dir>``
* ``sftp://<user>:<passwd>@<host>/<dir>``
* ``ftp://<user>:<passwd>@<host>/<dir>``
* ``tftp://<host>/<dir>``
* ``http://<user>:<passwd>@<host>:/<dir>``
* ``https://<user>:<passwd>@<host>:/<dir>``
* ``ftp://<user>:<passwd>@<host>/<dir>``
* ``sftp://<user>:<passwd>@<host>/<dir>``
* ``scp://<user>:<passwd>@<host>:/<dir>``
* ``tftp://<host>/<dir>``
* ``git+https://<user>:<passwd>@<host>/<path>``

.. note:: The number of revisions don't affect the commit-archive.
.. note:: The number of revisions don't affect the commit-archive.

.. note:: You may find VyOS not allowing the secure connection because
it cannot verify the legitimacy of the remote server. You can use
the workaround below to quickly add the remote host's SSH
fingerprint to your ``~/.ssh/known_hosts`` file:
.. note:: You may find VyOS not allowing the secure connection because
it cannot verify the legitimacy of the remote server. You can use
the workaround below to quickly add the remote host's SSH
fingerprint to your ``~/.ssh/known_hosts`` file:

.. code-block:: none
.. code-block:: none
vyos@vyos# ssh-keyscan <host> >> ~/.ssh/known_hosts
vyos@vyos# ssh-keyscan <host> >> ~/.ssh/known_hosts
Saving and loading manually
---------------------------
Expand Down

0 comments on commit 643432e

Please sign in to comment.