Commit-Archive doesn't accept symbols in password

Hello,
I was configuring set system config-management commit-archive location to a remote SCP location. My password includes a trailing exclamation mark and I can’t configure it:

set system config-management commit-archive location "scp://user:[email protected]/root/BACKUP/VYOS"

  "//user:[email protected]/root/BACKUP/VYOS" is not a valid URI for the scp URL scheme
  
 
  Invalid value
  Value validation failed
  Set failed```

As soon as I remove the "!", I can save the command and commit successfully.
Any workaround?
Thank you.

There is an existing bug report for this issue:

https://vyos.dev/T2468

You could try to properly URL encode the password as test%21

1 Like