cat /etc/motd | gzip | ssh remoteserver.com 'cat | gunzip > /tmp/test_motd2'