Bug 835798 - missing escaping of SSH key
Summary: missing escaping of SSH key
Keywords:
Status: CLOSED DUPLICATE of bug 830475
Alias: None
Product: Beaker
Classification: Retired
Component: beah
Version: 0.6
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Bill Peck
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-27 07:12 UTC by Jan Hutař
Modified: 2014-08-12 04:34 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-27 07:28:05 UTC
Embargoed:


Attachments (Terms of Use)

Description Jan Hutař 2012-06-27 07:12:14 UTC
Description of problem:
I have this public SSH key configured in preferences: "ssh-dss AAAAB3N...icWv/bgc= jhutar (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


How reproducible:
always


Steps to Reproduce:
1. set key like I have
2. schedule some reservation


Actual results:
[...]
Complete! 
/tmp/ks-script-AvL59M: line 213: syntax error near unexpected token `(' 
/tmp/ks-script-AvL59M: line 213: `echo ssh-dss AAAAB3Nz...icWv/bgc= jhutar (Systems Management QA) >> /root/.ssh/authorized_keys' 
 [1;24r (B )0 [1;24r [H [J [1;1HWelcome to Red Hat Enterprise Linux Server
[...]


Expected results:
should work

Comment 2 Steven Lawrance 2012-06-27 07:28:05 UTC

*** This bug has been marked as a duplicate of bug 830475 ***


Note You need to log in before you can comment on or make changes to this bug.