Home

Enable ssh on a mac with intune

%3CLINGO-SUB%20id%3D%22lingo-sub-1193279%22%20slang%3D%22en-US%22%3EEnable%20ssh%20on%20a%20mac%20with%20intune%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1193279%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20was%20wondering%20if%20it's%20possible%20to%20enable%20ssh%20with%20a%20script%20or%20another%20option%20on%20our%20macbooks%20via%20intune%3F%3C%2FP%3E%3CP%3EBeen%20searching%20online%20but%20can't%20find%20the%20rigth%20answer!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGreetings%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1193279%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EIntune%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EmacOS%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Essh%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1203074%22%20slang%3D%22en-US%22%3ERe%3A%20Enable%20ssh%20on%20a%20mac%20with%20intune%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1203074%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F567657%22%20target%3D%22_blank%22%3E%40Lars86%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20think%20there%20is%20no%20built-in%20policy%20available%20for%20it%20right%20now.%20I%20thought%20you%20maybe%20can%20achieve%20something%20with%20a%20custom%20profile.%20But%20from%20what%20I%20see%20in%20the%20reference%20documentation%20there%20is%20nothing%20available%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdeveloper.apple.com%2Fbusiness%2Fdocumentation%2FConfiguration-Profile-Reference.pdf%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdeveloper.apple.com%2Fbusiness%2Fdocumentation%2FConfiguration-Profile-Reference.pdf%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESo%2C%20I%20think%20it%20is%20left%20to%20a%20script%20to%20enable%20it.%20Support%20for%20scripting%20with%20macOS%20and%20Intune%20is%20announced%20to%20be%20available%20at%20some%20time%20later.%20Check%20this%20Ignite%202019%20session%20for%20details%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EmacOS%20device%20management%20with%20Microsoft%20Intune%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fmyignite.techcommunity.microsoft.com%2Fsessions%2F81669%3Fsource%3Dsessions%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmyignite.techcommunity.microsoft.com%2Fsessions%2F81669%3Fsource%3Dsessions%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESo%20finally%2C%20I%20guess%20you%26nbsp%3B%20have%20to%20wait%20a%20bit%20for%20scripting%20support%20or%20you%20build%20a%20custom%20app%20which%20does%20the%20enablement%20for%20you%20and%20convert%20the%20custom%20app%20to%20a%20.intunemac%20(similar%20to%20the%20.intunewin)%20and%20deploy%20it%20via%20Intune.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Esee%20details%20here%3A%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EMicrosoft%20Intune%20App%20Wrapping%20Tool%20for%20macOS%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fmsintuneappsdk%2Fintune-app-wrapping-tool-mac%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fmsintuneappsdk%2Fintune-app-wrapping-tool-mac%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EHow%20to%20add%20macOS%20line-of-business%20(LOB)%20apps%20to%20Microsoft%20Intune%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fintune%2Fapps%2Flob-apps-macos%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fintune%2Fapps%2Flob-apps-macos%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Ebest%2C%3C%2FP%3E%0A%3CP%3EOliver%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1206601%22%20slang%3D%22en-US%22%3ERe%3A%20Enable%20ssh%20on%20a%20mac%20with%20intune%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1206601%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F174439%22%20target%3D%22_blank%22%3E%40Oliver%20Kieselbach%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20the%20reply!%3C%2FP%3E%3CP%3EWatched%20the%20video%20from%20ignite%20and%20hope%20it's%20coming%20soon...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGreetings!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1209202%22%20slang%3D%22en-US%22%3ERe%3A%20Enable%20ssh%20on%20a%20mac%20with%20intune%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1209202%22%20slang%3D%22en-US%22%3E%3CP%3EHey%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F567657%22%20target%3D%22_blank%22%3E%40Lars86%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Elatest%20news%20on%20the%20Intune%20%22In-Development%22%20site%3A%3C%2FP%3E%0A%3CH3%20id%3D%22script-support-for-macos-devices%22%20id%3D%22toc-hId-1110238540%22%20id%3D%22toc-hId-1110238540%22%3EScript%20support%20for%20macOS%20devices%3C%2FH3%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fintune%2Ffundamentals%2Fin-development%23script-support-for-macos-devices%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fintune%2Ffundamentals%2Fin-development%23script-support-for-macos-devices%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Ebest%2C%3C%2FP%3E%0A%3CP%3EOliver%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hi,

 

i was wondering if it's possible to enable ssh with a script or another option on our macbooks via intune?

Been searching online but can't find the rigth answer!

 

Greetings

3 Replies
Highlighted

Hi @Lars86,

 

I think there is no built-in policy available for it right now. I thought you maybe can achieve something with a custom profile. But from what I see in the reference documentation there is nothing available: https://developer.apple.com/business/documentation/Configuration-Profile-Reference.pdf

 

So, I think it is left to a script to enable it. Support for scripting with macOS and Intune is announced to be available at some time later. Check this Ignite 2019 session for details:

 

macOS device management with Microsoft Intune

https://myignite.techcommunity.microsoft.com/sessions/81669?source=sessions

 

So finally, I guess you  have to wait a bit for scripting support or you build a custom app which does the enablement for you and convert the custom app to a .intunemac (similar to the .intunewin) and deploy it via Intune.

 

see details here:

Microsoft Intune App Wrapping Tool for macOS

https://github.com/msintuneappsdk/intune-app-wrapping-tool-mac

 

How to add macOS line-of-business (LOB) apps to Microsoft Intune

https://docs.microsoft.com/en-us/intune/apps/lob-apps-macos

 

best,

Oliver

Highlighted

Hi, @Oliver Kieselbach 

 

Thanks for the reply!

Watched the video from ignite and hope it's coming soon...

 

Greetings!

Highlighted

Hey @Lars86,

 

latest news on the Intune "In-Development" site:

Script support for macOS devices

https://docs.microsoft.com/en-us/intune/fundamentals/in-development#script-support-for-macos-devices

 

best,

Oliver