Enable Telnet in MAC OS X Lion

How do you enable Telnet Server in Lion? I need to be able to telnet to 127.0.0.1 and it says connection refused when I try it.

MacBook Pro, Mac OS X (10.7)

Posted on Aug 11, 2011 3:16 PM

Reply
5 replies

Aug 11, 2011 3:41 PM in response to stevefromspring

Figured it out finally...


You have to su to root, then run "launchctl" and then the prompt changes. Use the load command with the -F switch to force enable the disabled service.


SJ-MBP:~ stevejordan99$ su root

Password:

sh-3.2# launchctl

launchd% load -F /System/Library/LaunchDaemons/telnet.plist

launchd% exit

sh-3.2# telnet 127.0.01

Trying 127.0.0.1...

Connected to localhost.

Escape character is '^]'.

login: root

Password:

Last login: Thu Aug 11 17:30:21 on console

SJ-MBP:~ root#

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Enable Telnet in MAC OS X Lion

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.