Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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#

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 ID.