jsh config differs for win and unix
 remote tasks must be serializable or inner classes for convenience