The cause of the issue is (^M) characters that were appended with each line of the installer.config file when copied from Windows machine to Linux.
^M is a special character that is interpreted as (Enter) on Windows machines and on Linux it is taken as is so we need to manually remove this character from each line of a text file.
However we could also use a built-in tool Dos2Unix that is available for linux. This tool scans each line and removes the special character.
NOTE: For Error #2011 in Sentinel Cloud there could be several reasons like incorrect vendor details etc as well.