mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
conf.overview/remote archive: workaround to add remote ssh fingerprint
Add workaround to allow connection to non trusted hosts.
This commit is contained in:
parent
703ae17b5a
commit
fb9445c547
@ -507,10 +507,10 @@ Remote Archive
|
||||
|
||||
VyOS can upload the configuration to a remote location after each call
|
||||
to :cfgcmd:`commit`. You will have to set the commit-archive location.
|
||||
TFTP, FTP, and SFTP servers are supported. Every time a :cfgcmd:`commit`
|
||||
is successfull the ``config.boot`` file will be copied to the defined
|
||||
destination(s). The filename used on the remote host will be
|
||||
``config.boot-hostname.YYYYMMDD_HHMMSS``
|
||||
TFTP, FTP, SCP and SFTP servers are supported. Every time a
|
||||
:cfgcmd:`commit` is successfull the ``config.boot`` file will be copied
|
||||
to the defined destination(s). The filename used on the remote host will
|
||||
be ``config.boot-hostname.YYYYMMDD_HHMMSS``.
|
||||
|
||||
.. cfgcmd:: set system config-management commit-archive location <URI>
|
||||
|
||||
@ -524,6 +524,15 @@ destination(s). The filename used on the remote host will be
|
||||
|
||||
.. 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:
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
vyos@vyos# ssh-keyscan <host> >> ~/.ssh/known_hosts
|
||||
|
||||
Restore Default
|
||||
---------------
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user