Problem scenario
You are using the tar
command. You are getting an error when you try to compress a file. This is the message:
"tar (child): Cannot execute remote shell: No such file or directory
Cannot open: Input/output error
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now"
What should you do?
Solution
Eliminate colons in the file. Even quotes around the file name's characters that have ":" colons will not work for some tar functions. We find that tar works fine when there are just letters, numerals, and periods ".".