Fixed ssh command eating newlines of input file.
Added TODO list in comments.