zsh-users
 help / color / mirror / code / Atom feed
* remote function problems.
@ 2000-01-11  4:49 Scott Lipcon
  2000-01-12  7:29 ` Andrej Borsenkow
  0 siblings, 1 reply; 6+ messages in thread
From: Scott Lipcon @ 2000-01-11  4:49 UTC (permalink / raw)
  To: zsh-users

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-01-13  9:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-11  4:49 remote function problems Scott Lipcon
2000-01-12  7:29 ` Andrej Borsenkow
2000-01-12 18:52   ` Scott Lipcon
2000-01-12 19:20     ` Peter Stephenson
2000-01-13  8:43       ` Andrej Borsenkow
2000-01-13  9:32         ` Zefram

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).