• Mac OS X,  Mac OS X Server,  Mac Security

    Use scp To Connect To A Remote Mac And Copy A File

    Use scp to connect to a remote host and copy a file. To do so, use the -E option, followed by the source file, in this case the path for that file is ~/elcap.dmg. Then do the username followed by a : and then the password. Those credentials are then being used on the server defined by the @ symbol and then the fqdn of the host, all together here being krypted:mrrobot@imaging.krypted.com where krypted is the username, mrrobot is the password and imaging.krypted.com is the hostname of the target box running ssh. Then just list the path and filename of the target. In this case, it would be /Users/krypted/Desktop/elcap.dmg: scp…

  • Mac OS X,  Mac OS X Server,  Mac Security,  Mass Deployment

    Mavericks Server: Enable APNS Debug Logging

    Troubleshooting push notification communications between OS X Server and Apple’s Push Notification can be a challenge. Especially with Profile Manager. One great tip I’ve learned over the years is that the APNS daemon, apsd, has a debug mode. To enable APNS debug logging, run these commands: defaults write /Library/Preferences/com.apple.apsd APSLogLevel -int 7 defaults write /Library/Preferences/com.apple.apsd APSWriteLogs -bool TRUE killall apsd Then use tail -f to watch the apsd.log file at /Library/Logs/apsd.log. Be wary, as this can fill up your system. So to disable, use these commands: defaults write /Library/Preferences/com.apple.apsd APSWriteLogs -bool FALSE defaults delete /Library/Preferences/com.apple.apsd APSLogLevel killall apsd

  • Bushel,  iPhone,  JAMF,  Mac OS X,  Mac OS X Server,  Mac Security,  Mass Deployment

    Make Bushel’s Open Enrollment URL Easier To Use

    Many choose a pretty long company name when signing up for Bushel. The Open Enrollment link is generated based on the shortened version of this company name. This link can then be supplied to your users to make it quick and easy for them to enroll (or add) devices into your Bushel. Some end up with a company name that’s difficult to tell others or difficult for others to type. Many of our customers would also like a link on their site that customers can be pointed to. There are a few ways of achieving shorter, easier, or custom links. We’ll go through two, but there are a lot of other strategies you…

  • iPhone,  Mac OS X,  Mac OS X Server,  Mac Security,  Mass Deployment

    Use Verbose Logging With Profile Manager

    Verbose logging can help you isolate a number of problems with Profile Manager. Turn on verbose logging by writing a debugOutput key with a value of 3 into /Library/Preferences/com.apple.ProfileManager.plist using the defaults command: defaults write /Library/Preferences/com.apple.ProfileManager debugOutput 3 Once set, restart the daemon using killall: killall -u _devicemgr To disable, just write the key with a blank value: defaults delete /Library/Preferences/com.apple.ProfileManager debugOutput Then restart the daemon again: killall -u _devicemgr