ssh username@<host-1>
cd path/to/directory
tar cvzf content.tgz ./
host-1 send to host-2
scp content.tgz username@<host-2>:/path/to/dest
or
host-2 pull from host-1
scp username@<host-1>:/path/to/directory/content.tgz ./
Extract the files
tar zxvf /path/to/directory/content.tgz -C /path/to/dest