Red Hat Bugzilla – Bug 835798
missing escaping of SSH key
Last modified: 2014-08-12 00:34:02 EDT
Description of problem:
I have this public SSH key configured in preferences: "ssh-dss AAAAB3N...icWv/bgc= firstname.lastname@example.org (Systems Management QA)". This causes syntax error in the scriptlet in KS file which saves the key in /root/.ssh/authorized_keys.
Version-Release number of selected component (if applicable):
Version - 0.9.0
Steps to Reproduce:
1. set key like I have
2. schedule some reservation
/tmp/ks-script-AvL59M: line 213: syntax error near unexpected token `('
/tmp/ks-script-AvL59M: line 213: `echo ssh-dss AAAAB3Nz...icWv/bgc= email@example.com (Systems Management QA) >> /root/.ssh/authorized_keys'
[1;24r (B )0 [1;24r [H [J [1;1HWelcome to Red Hat Enterprise Linux Server
*** This bug has been marked as a duplicate of bug 830475 ***