- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Connect unix box through 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
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
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-28-2008 08:44 PM
05-28-2008 08:44 PM
Connect unix box through telnet using batch file.
How can I connect unix box through telnet using batch file.
-----
PS: This thread has been moved to an appropriate category- Forums Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2008 01:47 AM
05-29-2008 01:47 AM
Re: Connect unix box through telnet using batch file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2008 02:09 AM
05-29-2008 02:09 AM
Re: Connect unix box through telnet using batch file.
Any such script would be a security hazard.
It would need to contain the password clear text. Using telnet, authentication and datastream would also be "in the clear"
Suggest:
http://software.hp.com
Download and install the latest version of secure shell, HP's port of openssh.
Install this and learn how to set up password free, secure ssh.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2008 05:09 AM
05-29-2008 05:09 AM
Re: Connect unix box through telnet using batch file.
If i run that batch file it will automatically logins to the Unix box.
This i need to put in one of scripts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2008 05:56 AM
05-29-2008 05:56 AM
Re: Connect unix box through telnet using batch file.
telnet somename <<-EOF
name
pass
EOF
"expect" can be made to do this...but rather than stating what "you want to do" (telnet via script), you might get "better" answers if you described the issue you want to address (ie what you want to accomplish, what do you need to do on the other server that requires the connection)
As mentioned, rexec, remsh, ssh and others are candidates to consider
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2008 06:43 AM
05-29-2008 06:43 AM
Re: Connect unix box through telnet using batch file.
> appropriate category- Forums Moderator
Perhaps not. See also:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1235610