This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fw: Telnet Script?


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@trodman.com>
To: "Alistair Grant" <alistair@alphalink.com.au>; <cygwin@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]