Page MenuHomeVyOS Platform

Add html entities encoding for options field
Open, WishlistPublicFEATURE REQUEST


I've recently discovered that it's not possible to add ssh options to ssh key, if they contain double quotes, e.g.:

vyos@vyatta2# set system login user root authentication public-keys mick@mick-office options 'environment="",environment="GIT_AUTHOR_NAME=Mihail Vasilev"'

 Cannot use the double quote (") character in a value string
 Value validation failed
 Set failed

I've tried to add html entities like " instead, but get into faulty .ssh/authorized_keys - it just receives " as is.
It seems to me that it would be handy to add html entities encoding here (as it goes for dhcp server options) and should not harm existing systems.

I think, I can do it quite fast myself, but I think that this feature should be interesting for other community members.

What I'm trying to obtain by this feature - be able to put config.boot under version control AND minimize administration effort required to maintain accountability of engineers.


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close

Event Timeline

mickvav created this task.Oct 9 2017, 8:50 AM
syncer triaged this task as Wishlist priority.Dec 21 2017, 9:39 PM
syncer edited projects, added VyOS 1.3 Equuleus; removed VyOS 2.0.x.
dmbaturin added a subscriber: dmbaturin.

I'm not sure if HTML encoding is really the best thing to do, but I agree the problem exists.

pasik added a subscriber: pasik.Oct 1 2018, 9:53 AM