Ssh config and fixed Makefiles

 - $(PWD) and $(CURDIR) behave differently (apparently) when called from
   make -C