summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Jeanneret <cjeanneret@internux.ch>2020-10-26 19:28:17 +0100
committerCédric Jeanneret <cjeanneret@internux.ch>2020-10-26 19:28:17 +0100
commit5f0d33af1a5f709314c046b6dee40a63353f4363 (patch)
treea4232ebdc75ce517332f2753c7d071303b2523ba
parent6a3e2b82044192c8685bdc275f3fc90b4e05a368 (diff)
downloadvyos-documentation-5f0d33af1a5f709314c046b6dee40a63353f4363.tar.gz
vyos-documentation-5f0d33af1a5f709314c046b6dee40a63353f4363.zip
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.
-rw-r--r--docs/configuration-overview.rst6
-rw-r--r--docs/system/user-management.rst2
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:
<Enter> Save to system config file
<file> Save to file on local machine
- scp://<user>:<passwd>@<host>/<file> Save to file on remote machine
+ scp://<user>:<passwd>@<host>:/<file> Save to file on remote machine
ftp://<user>:<passwd>@<host>/<file> Save to file on remote machine
tftp://<host>/<file> 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://<user>:<passwd>@<host>/<dir>``
+ * ``scp://<user>:<passwd>@<host>:/<dir>``
* ``sftp://<user>:<passwd>@<host>/<dir>``
* ``ftp://<user>:<passwd>@<host>/<dir>``
* ``tftp://<host>/<dir>``
@@ -699,7 +699,7 @@ to load it with the ``load`` command:
Possible completions:
<Enter> Load from system config file
<file> Load from file on local machine
- scp://<user>:<passwd>@<host>/<file> Load from file on remote machine
+ scp://<user>:<passwd>@<host>:/<file> Load from file on remote machine
sftp://<user>:<passwd>@<host>/<file> Load from file on remote machine
ftp://<user>:<passwd>@<host>/<file> Load from file on remote machine
http://<host>/<file> 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)`:
* ``<file>`` - Load from file on local filesystem path
- * ``scp://<user>@<host>/<file>`` - Load via SCP from remote machine
+ * ``scp://<user>@<host>:/<file>`` - Load via SCP from remote machine
* ``sftp://<user>@<host>/<file>`` - Load via SFTP from remote machine
* ``ftp://<user>@<host>/<file>`` - Load via FTP from remote machine
* ``http://<host>/<file>`` - Load via HTTP from remote machine