- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can ssh but cannot telnet
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
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
тАО03-11-2009 08:10 PM
тАО03-11-2009 08:10 PM
I have a problem where one of my servers can ssh but cannot telnet. I've checked the /etc/inetd.conf and /etc/services but found nothing unusual. Hope you guys can help.
TQ
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2009 08:12 PM
тАО03-11-2009 08:12 PM
Re: Can ssh but cannot telnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2009 08:40 PM
тАО03-11-2009 08:40 PM
Re: Can ssh but cannot telnet
1. Apply command "inetd -c" and try to telnet.
2. If not, try to telnet from localhost.
#telnet localhost 23
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2009 09:41 PM
тАО03-11-2009 09:41 PM
Re: Can ssh but cannot telnet
Then do
#telnet localhost
if successful then try to to do telnet to the same port from another server. If not successful then check with network team if the port is blocked or not.
But must the protocol is enable in /etc/inetd.conf.
try restarting inetd inetd -c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2009 10:02 PM
тАО03-11-2009 10:02 PM
Re: Can ssh but cannot telnet
root[/] # telnet 127.0.0.1
Trying...
Connected to 127.0.0.1.
Escape character is '^]'.
telnetd: Telnet device drivers missing: No such device
Local flow control off
Connection closed by foreign host.
root[/] # telnet 127.0.0.1 23
Trying...
Connected to 127.0.0.1.
Escape character is '^]'.
telnetd: Telnet device drivers missing: No such device
Connection closed by foreign host.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2009 10:15 PM
тАО03-11-2009 10:15 PM
SolutionDo you have any session with root user?
If so,
# cd /
# rm /dev/pty/*
# rm /dev/pts/*
# insf -e
# cd /dev
# insf -d telm
# insf -d tels
Else try to login with single user mode and do the above.
Rgds,
Johnson,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2009 10:24 PM
тАО03-11-2009 10:24 PM
Re: Can ssh but cannot telnet
The pseudo terminal device files have been corrupted or some are missing. Do this:
rm /dev/pts/*
rm /dev/pty/*
cd /dev
insf -e
insf -d telm
insf -d tels
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2009 10:30 PM
тАО03-11-2009 10:30 PM
Re: Can ssh but cannot telnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2009 10:31 PM
тАО03-11-2009 10:31 PM