We had cybersecurity classes with test at the begining of every class.
This test had to be performed on a remote VM. But, we barely had about 5 minutes to complete all tasks. (the teacher was kinda insane)
So, in order to save time, I have literally created a script that turned on the Putty with MY PASSWORD in the code, that did set up everything needed to connect to the VM with a single click.
Did it trade my security for ducking 40s long logging process? Yes. But with time limits that extreme, it seriously gave me an edge over others ;D