- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Microsoft
- >
- batch file to open telnet, connect to an ip and en...
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
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
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
тАО11-06-2003 11:10 PM
тАО11-06-2003 11:10 PM
batch file to open telnet, connect to an ip and enter the login and password automatically.
I am trying to create a batch file for logon to telnet.
But it doesn't accept username & password. I send you detail please see below:
#############################
1sthotelsonline.bat
-----------------------
telnet www.1sthotelsonline.com
xyz
xxx
############################
This may seem like a simple question but I have never used this application before and am finding it difficult to get started.
please suggest me to how i would go about coding a batch file to open telnet, connect to an ip and enter the login and password Automatically.
regards
santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2003 02:38 AM
тАО11-07-2003 02:38 AM
Re: batch file to open telnet, connect to an ip and enter the login and password automatically.
using file.bat and standard telnet you cannot open session giving user and password.
In your example, telnet start and next new line (xyz and xxx) are read after telnet is closed as command.
You can't work neither in this way:
edit myfile.txt
xyz
xxx
---------------
telnet www.1sthotelsonline.com < myfile.txt
===============
In my example, telnet may accept login (perhaps) but when myfile.txt is ended, sessione close.
To open automatically a telnet session you have use a VT emulator with script capability as PowerTerm (yue can find at ww.ericom.com).
Bye
Antoniov
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2003 12:31 PM
тАО11-07-2003 12:31 PM
Re: batch file to open telnet, connect to an ip and enter the login and password automatically.
Hope this helps. Good Luck.
~kim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2003 08:12 PM
тАО11-07-2003 08:12 PM
Re: batch file to open telnet, connect to an ip and enter the login and password automatically.
Are you trying to telnet to a UNIX box? Please be more specific. There are some emulation software that you can use and associate with an automated logon script.
Here is an example.
Inside the *.cs file are commands which are recognized by Tiny Term emulation software!
You can not run it from the command line. Let me tell you why, because telnet transfer the password in a plain text and therefore it is strongly recommended to use ssh as a secure shell that encrypts the password.
Hope this help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2003 08:18 AM
тАО11-26-2003 08:18 AM