This question may sound weird. But here is what happened and I'd like to find out the ways to avoid this happening again.
I accidentally pasted contents of a text file into SSH CLI on Ubuntu 16.04. The machine was used for my production setup. I actually copied contents of a log file and intended to paste it in a nano editor opened in some other SSH window, but mistakenly pasted it on command line interface. The shell attempted to process every line as a command and created some junk files in local directory.
This fortunately didn't cause much damage however I want to know is there any way to avoid the accidental paste on ubuntu command line? Or can I disable the command line for multiline inputs?
I use PAC ssh client to connect to my remote systems.