Page MenuHomeVyOS Platform

[BUG] commit-archive domain recognition error
Closed, DuplicatePublicBUG

Description

Hi Team,

When password include "@". the vyos cannot archive the config successful.
the system think "[email protected]" is a hostname, rather than correct domain.

example:

vyos@f6-vyos-gateway# set system config-management commit-archive location 'scp://root:P@[email protected]/storage/Configbackup/f6vyos'
[edit]
vyos@f6-vyos-gateway# commit
Archiving config...
  scp://files.test.com/storage/Configbackup/f6vyos curl: (6) Could not resolve host: [email protected]
 Failed!
vyos@f6-vyos-gateway:~$ show version 
Version:          VyOS 1.3-rolling-202006050117
Release Train:    equuleus

Built by:         [email protected]
Built on:         Fri 05 Jun 2020 01:17 UTC
Build UUID:       b5066e17-53b4-4a88-800c-7d21825ba198
Build Commit ID:  72220ba6e64805

Architecture:     x86_64
Boot via:         installed image
System type:      VMware guest

Hardware vendor:  VMware, Inc.
Hardware model:   VMware Virtual Platform
Hardware S/N:     VMware-42 21 35 5d d3 ab 77 6d-fe 01 24 7f f0 05 4f 58
Hardware UUID:    5d352142-abd3-6d77-fe01-247ff0054f58

Copyright:        VyOS maintainers and contributors

Details

Difficulty level
Easy (less than an hour)
Version
VyOS 1.3-rolling-202006050117
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

ccieliu renamed this task from [BUG] report to [BUG] commit-archive domain recognition error.Jun 5 2020, 1:15 PM
ccieliu created this task.