[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: remote login
Thanks for you your question. I was beginning to think that
all e-mail was shut down for the Holidays :-)
If you have access to ssh, then you can do this without
usernames and passwords, in which case, I guess perl would
However, expect was written for this very purpose. It is
The Right Tool for the Job.
I wrote code for a "booster" system that dynamically starts
a number of programs on remote systems. I used C++ code
which includes a way to privately get a password and pass
it to an expect script. It is at...
The expect script is revealed and explained at...
That said, I'm sure somebody now will explain how to do it
easier with perl :-)
On Tue, Jan 01, 2002 at 06:16:37PM -0600, email@example.com wrote:
> I need to look for errors on a remote server, I'd like to use a Perl
> script because that's what I'm trying to learn. Do I have to call an
> expect script to handle the login an d password prompts?
> To unsubscribe, send email to firstname.lastname@example.org with
> "unsubscribe silug-discuss" in the body.
~~~~~~~~~~~~~~~~~misquote of famous person~~
To unsubscribe, send email to email@example.com with
"unsubscribe silug-discuss" in the body.