Re: Is it possible to signon to telnet using a script, so I do not have
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > Re: Is it possible to signon to telnet using a script, so I do not have




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: Is it possible to signon to telnet using a script, so I do not have  
Lorinczy Zsigmond / Domonyik Mariann


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-17-04 08:34 AM

George Kooper wrote:

> Is it possible to signon to telnet using a script, so I do not have to
> enter userid and password

You mean you wanna run telnet in a script, but telnet forces using /dev/tty?
This is what program <i>expect</i> good for.





[ Post a follow-up to this message ]



    Re: Is it possible to signon to telnet using a script, so I do not have  
joe durusau


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-18-04 05:34 AM



Maurizio Loreti wrote:

> George Kooper <tentimes5@hotmail.com > writes:
> 
>
> You don't want to do that.
>
> Consider using ssh with public key authentication, instead...
>
> --
> Maurizio Loreti                         [url]http://www.pd.infn.it/~loreti/mlo.html[/
url]
> Dept. of Physics, Univ. of Padova, Italy              ROT13: ybergv@cq.vasa.vg[/co
lor]

I agree that it's usually if not always a bad idea, but yes, you can do it.
expect is a product that an do that.  Of course, you would have to
install it and be prepared to live with the trouble that passwords in
scripts can cause.  If it's your home system, go right ahead.  If it's
somebody else's system, I wouldn't do that.

Speaking only for myself,

Joe Durusau







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:33 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register