SSH Target Problems

I installed Mono according to the Mono page… Getting a failure when trying to run a SSH script on a Linux SSH target.

Running Ubuntu 14.04.4 LTS

Unhandled Exception:
14:03:25Error
System.TypeInitializationException: The type initializer for 'System.Net.WebRequest' threw an exception. ---> System.Configuration.ConfigurationErrorsException: Error Initializing the configuration system. ---> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section <runtime> (/home/octopus-deploy/.octopus/OctopusServer/Calamari/3.3.5/Calamari.exe.config line 3)
14:03:25Error
  at System.Configuration.ConfigInfo.ThrowException (System.String text, System.Xml.XmlReader reader) <0x406271a0 + 0x00047> in <filename unknown>:0 
14:03:25Error
  at System.Configuration.SectionGroupInfo.ReadContent (System.Xml.XmlReader reader, System.Configuration.Configuration config, Boolean overrideAllowed, Boolean root) <0x40626a40 + 0x0032f> in <filename unknown>:0 

Strange that problem has gone away on the 3rd run…

Now I’m getting

Beginning streaming transfer of calamari-run-script.sh to $HOME\.octopus\OctopusServer\Work\20160517140955-20
15:09:57Verbose
Stream transfer complete
15:09:58Verbose
Octopus Deploy: Calamari version 3.3.5+Branch.master.Sha.755501eda21d63861022f1a2d87c98d5e7f9f23b
15:09:59Error
/home/octopus-deploy/.octopus/OctopusServer/Work/20160517140955-20/script.sh: line 2: ECHO: command not found

Using the command: watch -d ls -l

I can see that a folder is being dropped into \Work\ - but it only shows up for about 5 seconds at which point the process fails and the file is presumably cleaned up.

OK ignore me. This is my fault for using uppercase ECHO.