bash heredoc gets corrupted(randomly) when pasted to ssh terminal
7772
How to use SSH to run a local shell script on a remote machine?
90898
Why does the filename contain question marks when I run a script on my remote machine?
52709
How can I "relink" a lot of broken symlinks?
28310
Bad substitution: no closing "`" in a heredoc / EOF
23612
Why does this ssh command not work? (cat ./file | ssh  "cat | sudo -t -t 'cat > /root/location/file'")
97946
ssh command with quotes
79953
ssh breaks out of while-loop in bash
50845
Can't indent heredoc to match code block's indentation
117471
How can I either encrypt or render my shell script unreadable?
24726
HEREDOC Returning unexpected end
20585
Is there a ".bashrc" equivalent file read by all shells?
2272
Linux: coloring bash prompt will break carriage return
73535
How to create a file with pre-inserted text inside with bash?
76348
heredoc for Windows batch?
2313
How do I prevent LaTeX-Suite from opening files automatically when there's an error?
95825
How to indent an heredoc inside an heredoc the right way?
99148
How do I recompile Bash to avoid Shellshock (the remote exploit CVE-2014-6271 and CVE-2014-7169)?