Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
remote function problems.
- X-seq: zsh-users 2861
- From: Scott Lipcon <slipcon@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: remote function problems.
- Date: Mon, 10 Jan 2000 23:49:01 -0500 (EST)
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
Hello,
I'm trying to write some function to distribute my config files among all
the machines I use. For various reasons, I dont want to use rsync or CVS.
I want to "push" the files out from my main machine, so I have a function
which tars them up and scp's them to the remote machine (prompting for a
password if necessary)
I also have a function which installs the config files properly, from a
tar file in my home directory. The problem is now executing that function
remotely, via ssh.
The best I've come up with is:
$ ssh remote-host zsh -i -c function
which runs the function, but also outputs:
stty: standard input: Invalid argument
is there a way to do this better?
Thanks,
Scott
Messages sorted by:
Reverse Date,
Date,
Thread,
Author