How to disable telnet on solaris

Steps to enable root login for ssh and disable telnet on Solaris,

  • enable root login for ssh by editing the file vi /etc/ssh/sshd_config.

Change “PermitRootLogin no” entry to “PermitRootLogin yes”

  • Restart ssh,

svcadm restart svc:/network/ssh:default

  • Disable telnet,

svcadm disable telnet

2 Comments »

  1. Ashwani said

    how to enable and disable the telnet and ssh in solaris

  2. Lur said

    You don’t have to restart the service, but only reload the config file like that:
    svcadm refresh svc:/network/ssh

RSS feed for comments on this post · TrackBack URI

Leave a Comment