How to enable SSH daemon in Mac OS X


PROBLEM

LanGuard makes use of the SSH service on a Mac OS X to log in remotely, run scripts or deploy missing patches. This is a requirement to execute the patches.

ENVIRONMENT

  • GFI LanGuard 2012 SR1 and later
  • Supported Mac Operating Systems

SOLUTION

To enable it, do the following:
  1. Go to System Preferences
  2. Under Internet & Wireless click the Sharing icon
  3. Check the Remote Login option
NOTE: If you limit incoming SSH access to certain users, be sure that the user you configure has Administrative privileges.
 
This starts the SSH daemon immediately. You can verify they have enabled, go to the Terminal and type either ssh localhost or sftp localhost.

CAUSE

The Mac OS X operating system has SSH installed by default, but the SSH daemon is not enabled.