![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| OS X (Apple) OS X is a line of Unix-based graphical operating systems developed, marketed, and sold by Apple. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| S-376: Cisco uBR10012 Series Devices SNMP Vulnerability | iBot | Security Advisories (RSS) | 0 | 09-25-2008 12:00 PM |
| Login from X-terminal | Scrollon | SUN Solaris | 0 | 03-20-2007 04:55 AM |
| Automate FTP / Scripting FTP Transfers | Perderabo | Answers to Frequently Asked Questions | 0 | 05-20-2004 08:50 PM |
| Connecting to cisco devices via console | dgroove3 | UNIX for Dummies Questions & Answers | 1 | 01-30-2004 12:41 AM |
| won't allow root login from another terminal to my sun | kymberm | UNIX for Dummies Questions & Answers | 3 | 07-03-2003 12:11 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Terminal scripting to automate login to cisco devices. Help Please !
Hello,
I am new to the mac world, and would like to automate my login to cisco devices (routers, switches etc...), i am in a need of writing a script that i may just click on an icon on the desktop and it will open terminal and run a few command. as follow: telnet to an ip address type the username and password log all screen output to a file. Currently i am using the expect and send command but cannot get the script to work as one piece. any help in the matter would be appreciated. here is what i got: telnet x.x.x.x.x expect -re "Username:" send "Admin\r" expect -re "ass:" send "XXX\r" Thanks, Rasta. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|