Browse Source

docs: user@ and :port are optional in sftp and ssh URLs

Thomas Waldmann 8 months ago
parent
commit
82a1d38bcc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      docs/usage/general/repository-urls.rst.inc

+ 2 - 0
docs/usage/general/repository-urls.rst.inc

@@ -24,6 +24,8 @@ Note: you may also prepend a ``file://`` to a filesystem path to get URL style.
 
 ``sftp://user@host:port/path/to/repo`` - absolute path`
 
+For ssh and sftp URLs, the ``user@`` and ``:port`` parts are optional.
+
 If you frequently need the same repo URL, it is a good idea to set the
 ``BORG_REPO`` environment variable to set a default for the repo URL: