Bug 40053

Summary: EC2-Image: Fix wrong SSH commandline hint for new AMI
Product: UCS Reporter: Timo Denissen <denissen>
Component: System setupAssignee: Erik Damrose <damrose>
Status: CLOSED FIXED QA Contact: Florian Best <best>
Severity: normal    
Priority: P5 CC: damrose, walkenhorst
Version: UCS 4.1   
Target Milestone: UCS 4.1-0-errata   
Hardware: Other   
OS: Linux   
What kind of report is it?: --- What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional):
Max CVSS v3 score:
Bug Depends on:    
Bug Blocks: 40145    

Description Timo Denissen univentionstaff 2015-11-20 14:02:42 CET
The current AWS EC2 AMI for UCS 4.1 shows the following hint:

ssh -i <path/to/privatekey> root@<IP address> passwd

This will print the password and its confirmation in plain text.

When -t is added the password is not shown.

From man ssh 5:
-t      Force pseudo-terminal allocation.  This can be used to execute arbitrary screen-based programs on a remote machine, which can be very useful, e.g. when implementing menu services.  Multiple -t options force tty allocation, even if ssh has no local tty.
Comment 1 Erik Damrose univentionstaff 2015-12-08 14:33:23 CET
r66175 univention-system-setup 9.0.2-18.933.201512081429
r66176 update yaml univention-system-setup.yaml
Comment 2 Florian Best univentionstaff 2015-12-08 14:39:30 CET
OK: En/De
OK: command
OK: YAML :D
Comment 3 Janek Walkenhorst univentionstaff 2015-12-09 16:47:57 CET
<http://errata.software-univention.de/ucs/4.1/26.html>