- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Windows Server 2003
- >
- Telnet Using batch file
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2008 03:13 AM
тАО05-18-2008 03:13 AM
Telnet Using batch file
i want to telnet using batch file from windows machine to Unix.Some one tell me how can i do this.
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2008 09:00 PM
тАО05-18-2008 09:00 PM
Re: Telnet Using batch file
Look "Telnet Scripting Tool":
http://www.freewareweb.com/cgi-bin/archive.cgi?download=1&ID=645
Or, if you have some Perl knowledge:
http://www.perlfect.com/articles/telnet.shtml
http://search.cpan.org/~jrogers/Net-Telnet-3.03/lib/Net/Telnet.pm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2008 12:58 AM
тАО05-19-2008 12:58 AM
Re: Telnet Using batch file
http://technet2.microsoft.com/windowsserver/en/library/ddf8b035-9035-475c-ae50-1d97bde83dba1033.mspx?mfr=true
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2008 04:38 AM
тАО05-19-2008 04:38 AM
Re: Telnet Using batch file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2008 11:10 PM
тАО05-28-2008 11:10 PM
Re: Telnet Using batch file
Thanks for your reply
can some one tell me how can i pass the username and password in batch file.After execute the script its prompt for password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2008 09:24 PM
тАО07-30-2008 09:24 PM
Re: Telnet Using batch file
I used with succes Tera term pro:
http://hp.vector.co.jp/authors/VA002416/teraterm.html
I managed to create a script that is making telnet to a network switch and does a enable or disable of a port. The script is called with a batch file and scheduled tasks. It works fine for me.
Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2009 01:12 AM
тАО10-15-2009 01:12 AM
Re: Telnet Using batch file
I have similar task like savus's post...
- I have list of SAN router Switches (McData Eclipse 2640)
- I need to pull some status output daily form these devices (<# show mgmt> & <# show environment>)
- I want to automate this process in to a script (through windows bacth file if possible or with someother script base)
- I expect the script to do telnet logins, and command execution and redirect the output to a file and semd email.
I'm a SAN guy... not good in scripting... trying to find the best way to do that.
Appreciate yourt suggestion & idea on this.
- Sathish Chandran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2009 08:57 AM
тАО10-21-2009 08:57 AM
Re: Telnet Using batch file
I do this with a couple tools. First, I use the freeware TST10 to establish a telnet connection. The executable reads from an input textfile like this:
HOST01 23
WAIT "username"
SEND "root\m"
WAIT "passw"
SEND "mypassword\m"
WAIT ">"
SEND "show all\m"
WAIT ">"
SEND "logout\m"
TST10 dumps the output to another textfile that I specify with a switch.
I then have a free program to send mail, BLAT. Put this together in a batchfile and make it a scheduled task, I think you will have your solution.
TST10 /r:instructions.txt /o:outputfile.txt
BLAT -attacht "outputfile.txt" -s "Telnet Results" -to MyEmailAddress@MyDomain.com
Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2009 08:58 AM
тАО10-21-2009 08:58 AM
Re: Telnet Using batch file
TST10 available here:
http://jerrymannel.com/blog/2008/11/11/telnet-scripting-tool-aka-tst10exe/
BLAT available here:
http://www.blat.net/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2009 01:43 AM
тАО10-22-2009 01:43 AM
Re: Telnet Using batch file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2009 12:42 AM
тАО12-27-2009 12:42 AM
Re: Telnet Using batch file
I found one VB script it will automatically send the shutdown request the my UPS reaching on Critical LEVEL.
Its working fine for me.
Thanks for your help .
Khalid