delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/20/06:05:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <006601c2608d$2dc44d50$db6ba1ca@graal04>
From: "Alistair Grant" <alistair AT alphalink DOT com DOT au>
To: <cygwin AT cygwin DOT com>
References: <200209200029 DOT g8K0TdM31769 AT tigris DOT pounder DOT sol DOT net>
Subject: Re: Fw: Telnet Script?
Date: Fri, 20 Sep 2002 20:04:54 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Hi Tom,

Thanks for the offer, however I'm not using expect at the moment.

You might also like to think about using ssh.  It allows you to execute
commands remotely and do neat things like:

    tar cf - . | ssh <hostname> "cat > file.tar"

The syntax might not be quite correct, however hopefully it gives you the
idea that you can pipe stuff to a remote command.

scp allows you to securely copy files to remote systems.

Using keys (and ssh-agent), ssh, scp and sftp can be set up so that you
don't have to use passwords.


Cheers,

Alistair.



----- Original Message -----
From: <bounces AT trodman DOT com>
To: "Alistair Grant" <alistair AT alphalink DOT com DOT au>; <cygwin AT cygwin DOT com>
Sent: Friday, September 20, 2002 10:29 AM
Subject: Re: Fw: Telnet Script?


> --------
> Alistair:
>
> I have been able to write cygwin expect scripts to telnet to remote
> boxes running the cygwin telnetd and then subsequently invoke
> bash scripts.  I did this to work around the in-ability to map
> network drives under cron (cron calls the expect script that
> telnets in to launch the bash script :->).  I can e-mail you an example
> ;let me know.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019