Dave Vehrs wrote:
Use the Expect scripting langauge. It was designed for scripting
interactive processes. Learn more at: http://expect.nist.gov/
Dave V.
you could do it with NET::SSH::PERL ( Perl Modules)
here is that part that matters.
my $ssh = Net::SSH::Perl->new($host, options => [ "u
Use the Expect scripting langauge. It was designed for scripting
interactive processes. Learn more at: http://expect.nist.gov/
Dave V.
On Tue, 2003-02-11 at 17:28, David Simmons wrote:
> We have a couple of servers that we want to push out periodic updates
> to. We want to automate this as muc
On Tue, 2003-02-11 at 18:28, David Simmons wrote:
> We have a couple of servers that we want to push out periodic updates
> to. We want to automate this as much as possible.
>
> We have password-less ssh working (thanks to the group for that!). So
> using a shell script we can login in to a re
:09 PM
To: [EMAIL PROTECTED]
Subject: Re: scripting an ssh session
On Tue, 2003-02-11 at 17:28, David Simmons wrote:
> We have a couple of servers that we want to push out periodic updates
> to. We want to automate this as much as possible.
>
> We have password-less ssh working (t
On Tue, 2003-02-11 at 17:28, David Simmons wrote:
> We have a couple of servers that we want to push out periodic updates
> to. We want to automate this as much as possible.
>
> We have password-less ssh working (thanks to the group for that!). So
> using a shell script we can login in to a re
ROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 11, 2003 16:28
Subject: scripting an ssh session
We have a couple of servers that we want to push out periodic updates
to. We want to automate this as much as possible.
We have password-less ssh working (thanks to t
Try using rsync, it might do what you need, will work over SSH or RSH.
/B
- Original Message -
From: "David Simmons" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 11, 2003 16:28
Subject: scripting an ssh session
> We have a couple of ser
On Tue, 11 Feb 2003, David Simmons wrote:
> Is it possible to continue feeding commands from the ssh shell script I
> wrote to the remote machine? For example, if my script is something
> like:
Interactive processes can be scripted using expect. But why not just place
your remote commands in a
or, you could just:
ssh [EMAIL PROTECTED] cd /usr/local; echo "some new command" >> therefile
;-)
On Tuesday 11 February 2003 04:53 pm, Raymundo M. Vega wrote:
> yes, i think you should do it like:
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https:
yes, i think you should do it like:
ssh [EMAIL PROTECTED] << EOF
cd /usr/local
echo "some new command" >> therefile
logout
exit 1
EOF
hope it helps
raymundo
David Simmons wrote:
We have a couple of servers that we want to push out periodic updates
to. We want to automate this as much as possi
We have a couple of servers that we want to push out periodic updates
to. We want to automate this as much as possible.
We have password-less ssh working (thanks to the group for that!). So
using a shell script we can login in to a remote machine. But that is
all we can do. Once we login we
11 matches
Mail list logo