Advertisement
kromm77

send program output to another server via SSH tunnelling

Oct 7th, 2015
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.11 KB | None | 0 0
  1. #commmand-with-output | gzip | ssh root@remoteserver.example.com "zcat >> command_output_in_remote_server_unzipped"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement