Re: ssh and stuff
Andrew <andrew@capital.net.au> writes:
> Is it possible to get ssh to run a command on a remote machine from
> another script? I've tried doing things like:
>
> ssh host 'command' -l user <<EOF
> password
> EOF
I don't think ssh accepts reading passwords from a file.
It requires a tty.
(BTW, if you add "Mail-Copies-To: andrew@capital.net.au" to your
headers you will automatically get a copy of all responses [with
mailers that support it].)
--
( GnuPG/PGP key @ www.dtek.chalmers.se/~d4jonas/ ! Wei Wu Wei )
( U2MoL, Roleplaying, LaTeX, Emacs/Gnus, etc. ! To Do Without Do )
Reply to: