[chef] RE: Enabling Remote Login on OSX


Chronological Thread 
  • From: "Christensen, Robert" < >
  • To: " " < >
  • Subject: [chef] RE: Enabling Remote Login on OSX
  • Date: Fri, 1 Mar 2013 19:47:27 +0000
  • Accept-language: en-US

execute "enable ssh" do
  command "systemsetup -setremotelogin on"
  action :run
end

---
Robert Christensen
Instructional Media Specialist
Instructional Media Services -- A division of ITS
Wesleyan University

From: Angus Buchanan
Sent: Friday, March 01, 2013 2:29 PM
To:
Subject: [chef] Enabling Remote Login on OSX

Hi,

I'm trying to enable remote login (ie sshd) on Mountain Lion.

I've tried:

service "sshd" do
 
  action [:enable, start]

end

And variations on that theme (ssh, remotelogin, only start).

The only one which didn't result in an error was sshd, but that didn't result in sshd actually starting.

Wiki and Google offer no significant guidance.  Anyone got this working?  What incantation did you use?

-aob



Archive powered by MHonArc 2.6.16.

§