Bug 40053 - EC2-Image: Fix wrong SSH commandline hint for new AMI
EC2-Image: Fix wrong SSH commandline hint for new AMI
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: System setup
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1-0-errata
Assigned To: Erik Damrose
Florian Best
:
Depends on:
Blocks: 40145
  Show dependency treegraph
 
Reported: 2015-11-20 14:02 CET by Timo Denissen
Modified: 2015-12-09 16:47 CET (History)
2 users (show)

See Also:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>