transfer directory recursively over ssh
transfer directory to remote host
tar czvf - [directory]| ssh <hostname | ip adres > tar xzvf -
example:
tar czvf - /home | ssh 192.168.34.35 tar xzvf -
transfer directory to remote host
tar czvf - [directory]| ssh <hostname | ip adres > tar xzvf -
example:
tar czvf - /home | ssh 192.168.34.35 tar xzvf -