rsh
ssh -X
Linux:
You can stop and start the telnet using /etc/init.d/xinetd start /stop.
As telnet is a part of xinetd. You can disable telnet by editing the file
/etc/xinetd.d/telnet.
Change disable = yes
Solaris:
For security purposes, administrators may wish to disable telnet (incoming
connections) on a Solaris 10 system.
Steps to Follow
1. rsh into S10 system and check current telnet service status:
2. Here we disable telnet with ‘svcadm disable’ command, and then recheck telnet
service status:
NOTE: At this point the telnet is disabled. No reboot required for it to take
affect.
3. From a remote system, we try to telnet to this S10 system that we just disabled
telnet on:
% telnet netlab46
Trying 129.148.12.46…
telnet: Unable to connect to remote host: Connection refused
5. From same remote system, we try to telnet to this S10 system that we just re-
enabled telnet on:
% telnet netlab46
Trying 129.148.12.46…
Connected to netlab46.
Escape character is ‘^]’.login: root
Password:
Last login: Sat Dec 10 21:26:42 from 129.148.192.154
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
#