summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2020-10-27 01:33:39 +0700
committerGitHub <noreply@github.com>2020-10-27 01:33:39 +0700
commitd590dc5b3e3c1131e0ed754f35e92b0771d6eec3 (patch)
treea4232ebdc75ce517332f2753c7d071303b2523ba /docs
parent6a3e2b82044192c8685bdc275f3fc90b4e05a368 (diff)
parent5f0d33af1a5f709314c046b6dee40a63353f4363 (diff)
downloadvyos-documentation-d590dc5b3e3c1131e0ed754f35e92b0771d6eec3.tar.gz
vyos-documentation-d590dc5b3e3c1131e0ed754f35e92b0771d6eec3.zip
Merge pull request #354 from cjeanneret/correct-scp-URI
Correct the scp URI
Diffstat (limited to 'docs')
-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