- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: passing a login string to a telnet session
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
12-17-2003 07:18 AM
12-17-2003 07:18 AM
Once I telnet into the 3000 box I can't get the linux box to give the login string.
It doesn't appear as though the 3000 box is able to except the -l option of the telnet command to specify user.
Is there another way to do this or can I script my way around this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 07:26 AM
12-17-2003 07:26 AM
Re: passing a login string to a telnet session
Here is how to turn it on.
In the directory /etc/xinetd.d/telnet file
change disable=yes to disable=no
save the file
service xinetd restart
Now telnet login will be allowed.
You are better off from a security standpoint to use ssh(Secure Shell on HP-UX) to connect to openssh on Linux.
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
12-17-2003 08:01 AM
12-17-2003 08:01 AM
Re: passing a login string to a telnet session
SSH has this capability built-in ( with public/private keys ).
Normally when I have telnet admin ports for some programs ( no passwd required if connection is from localhost ) I do like this
(sleep 1; echo "command 1"; sleep 2; echo "command 2; sleep 1; "echo exit" ) | telnet localhost someport
... you can try to 'echo' the login/passwd, I never did.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 09:07 AM
12-17-2003 09:07 AM
Re: passing a login string to a telnet session
you might want to try -a (automatic login) together with -l . If this works or not really depends on the telnet deamon on the HP 3000.
You do not need the telnet daemon for this to be active on the linux box as you are only using the telnet client, not the server.
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 05:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 09:06 PM
12-17-2003 09:06 PM
Re: passing a login string to a telnet session
massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 03:47 AM
12-18-2003 03:47 AM
Re: passing a login string to a telnet session
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 04:06 AM
12-18-2003 04:06 AM
Re: passing a login string to a telnet session
Thanks everyone