I'm not even sure I can do this, but I want to have a script that ssh's to another server and creates a tar file on the remote server. Is that even possible? Here's what I have been working with, which isn't very much because I can't figure out how to make it work.
Thanks in advance for any help!
David
#!/usr/bin/ksh
server=$1
ssh $server 'tar cvf $server.logs.tar.gz /opt/bmc/Patrol3/log/Patrol*'