I dont think the ssh option is always available to everyone. Most times these hosts are non linux machines, so they dont come with ssh servers by default. Now If you dont have root access , you cant install ssh servers. But good old telnet is always available. ( I am not bothered about someone snooping in my internal network )
Coming to the actual question , If you want to run a specific task everytime, you can write a Net::Telnet script. But if you want a script to just do the login stuff for you, I dont know how you can do it. Infact I tried some stuff by *auto typing* using X11::GUITest on to my xterm, but that is too much of a pain Thanks Ram On Thu, 2004-07-15 at 17:11, [EMAIL PROTECTED] wrote: > Hi, > > >I need to telnet some hosts automatically without supplying password. > >I can do it with Expect but I hardly know the language. > >I wonder what you think of the Perl module Expect - if it's any good and > >easy to use. > >Also if you can think of another way to do the job this will also be > great. > > I use ssh for lots of this type of stuff. Set up keys for authentication, > then you have autologin. > Depending on what you need after you get into the remote host, this could > be a good option. > > I guess that had nothing to do with Perl :( > > hth > jeff > > >Thanks > > _________________________________________________________________ > Help STOP SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > > > > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>