The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Calling expect scripts from other expect scripts seva Shell Programming and Scripting 0 04-03-2008 01:45 PM
telnet with ksh taboaspedro UNIX for Advanced & Expert Users 1 12-29-2005 06:07 PM
telnet punk000 UNIX for Dummies Questions & Answers 2 07-20-2003 08:44 AM
Telnet vtran4270 UNIX for Advanced & Expert Users 1 09-16-2002 02:17 PM
Telnet For DMS r00t.$h3ll Security 1 02-14-2002 09:14 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-06-2007
rbn1226 rbn1226 is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 2
telnet scripts

Hi,

Can someone please send me a sample script to login to a specific device and do someme command then logout.

Thanks..
  #2 (permalink)  
Old 09-06-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
I suggest you look at using ssh. Makes these things much simpler with public/private keys.
  #3 (permalink)  
Old 09-06-2007
ghostdog74 ghostdog74 is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2006
Posts: 2,509
i believe you have Perl on your system. you can use the Net::Telnet module
See here for examples
  #4 (permalink)  
Old 05-28-2009
rbn1226 rbn1226 is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 2
thanks man...
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:33 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0