From 5f0d33af1a5f709314c046b6dee40a63353f4363 Mon Sep 17 00:00:00 2001 From: Cédric Jeanneret Date: Mon, 26 Oct 2020 19:28:17 +0100 Subject: Correct the scp URI A standard `scp` call implies a ":" between the remote host and the remote path. Let's reflect it in the doc to avoid any confusion. --- docs/configuration-overview.rst | 6 +++--- docs/system/user-management.rst | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/configuration-overview.rst b/docs/configuration-overview.rst index 71bfc360..5658cdbb 100644 --- a/docs/configuration-overview.rst +++ b/docs/configuration-overview.rst @@ -320,7 +320,7 @@ different levels in the hierarchy. Possible completions: Save to system config file Save to file on local machine - scp://:@/ Save to file on remote machine + scp://:@:/ Save to file on remote machine ftp://:@/ Save to file on remote machine tftp:/// Save to file on remote machine vyos@vyos# save tftp://192.168.0.100/vyos-test.config.boot @@ -659,7 +659,7 @@ be ``config.boot-hostname.YYYYMMDD_HHMMSS``. Specify remote location of commit archive as any of the below :abbr:`URI (Uniform Resource Identifier)` - * ``scp://:@/`` + * ``scp://:@:/`` * ``sftp://:@/`` * ``ftp://:@/`` * ``tftp:///`` @@ -699,7 +699,7 @@ to load it with the ``load`` command: Possible completions: Load from system config file Load from file on local machine - scp://:@/ Load from file on remote machine + scp://:@:/ Load from file on remote machine sftp://:@/ Load from file on remote machine ftp://:@/ Load from file on remote machine http:/// Load from file on remote machine diff --git a/docs/system/user-management.rst b/docs/system/user-management.rst index d3dcc378..6d89735f 100644 --- a/docs/system/user-management.rst +++ b/docs/system/user-management.rst @@ -78,7 +78,7 @@ The third part is simply an identifier, and is for your own reference. using one of the following :abbr:`URIs (Uniform Resource Identifier)`: * ```` - Load from file on local filesystem path - * ``scp://@/`` - Load via SCP from remote machine + * ``scp://@:/`` - Load via SCP from remote machine * ``sftp://@/`` - Load via SFTP from remote machine * ``ftp://@/`` - Load via FTP from remote machine * ``http:///`` - Load via HTTP from remote machine -- cgit v1.2.3