How can I enable telnet and ssh at the same time

Posted on 2004-11-17
Last Modified: 2013-12-27
currently our system is configure to respond to ssh protocol.  I would like to enable the telnet port 23 as well as ssh.  
Can you advise me how to do that.

Question by:mmatinrazm
    LVL 14

    Accepted Solution

    Uncomment the telnet line in /etc/inetd.conf and kick inetd.

    However.... If you have SSH it must be because you have some idea of keeping things secure. You cannot acheive security and have telnet running.
    LVL 34

    Expert Comment

    You can, however, ADD ssh support to the Solaris box as you wean your users away from telnet.
    LVL 48

    Assisted Solution

    Just in case Chris's "kick inetd" suggestion is a bit brief for you, you need to do

    pkill -HUP inetd

    LVL 38

    Assisted Solution


       You might also want to check /etc/services to make sure the following line is not commentted out:
    telnet       23/tcp


    Expert Comment

    As stated above un-comment telnet in /etc/inetd.conf, also check /etc/services and make sure it is not commented out.  If this is Solaris 9 or 10 then you should also check /etc/hosts.allow and enter telnet: <IP or HOSTNAME> of the machines that are allowed to access it... or telnet: ALL but that's a very bad idea.

    LVL 34

    Expert Comment

    *shrug* Whatever

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (…
    Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now