TELNET and SSS

If a server is pingable but unable to TELNET or SSS what will you check and how will you resolve it?

Questions by pking

Showing Answers 1 - 15 of 15 Answers

xabiullah

  • May 4th, 2009
 

1. Log onto your system using console.
2. Check whether the ssh daemon and the telnet deamon is running.
    a. Using the svcs - a |grep ssh and svcs -a |grep telnet or
using ps -ef command.
    b. Additionally, Check these serivces are listening to the
routable IP within the subnet and right port using command netstat -anP tcp |grep
22 and netstat -anP tcp |grep 23.If not bound, configure accordingly.
    c. If the services are not running, then start the services
using `svcadm` command. And repeat the above two steps to confirm.
3. If already running, Check the firewall setting and configure firewall
accordingly.

We have to enable the telnet and ssh services

svcadm enable telnet
svcadm enable ssh

After that we have to start the telnet service

svcadm restart telnet
svcadm restart ssh

  Was this answer useful?  Yes

You first check whether there are any dependency services are enabled or not.

svcs -xv telnet and svcs -xv ssh


If there are no dependencies then you can simply enable telnet and ssh
svcadm enable telnet and svcadm enable ssh


If there are dependencies you first enable those services and then you have to enable these two services

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions