communicator/ssh: refactor to upload directories properly
communicator/ssh: refactor to upload directories properly

TranscendComputing/packer,Kaixiang/packer,patricklucas/packer,suma/packer,suma/packer,TranscendComputing/packer,Kaixiang/packer,TranscendComputing/packer,patricklucas/packer,Kaixiang/packer,TranscendComputing/packer,patricklucas/packer,suma/packer,Kaixiang/packer,patricklucas/packer,suma/packer