• Mac OS X Server

    Use SSH, ARD, SNMP, And The Server App Remotely on Server 5.4

    SSH allows administrators to connect to another computer using a secure shell, or command line environment. ARD (Apple Remote Desktop) allows screen sharing, remote scripts and other administrative goodness. You can also connect to a server using the Server app running on a client computer. To enable any or all of these, open the Server app (Server 5.4 for High Sierra), click on the name of the server, click the Settings tab and then click on the checkbox for what you’d like to enter.  All of these can be enabled and managed from the command line as well. The traditional way to enable Apple Remote Desktop is using the kickstart…

  • Mac OS X

    Disable Dock Autohide

    One of those annoying little things is when you ARD into a system and the Dock is nowhere to be seen. Why do we (or should I say they) autohide Docks on servers? Either way, when I ARD into a box and I don’t see a Dock I have this line saved as a Template: defaults write com.apple.dock autohide -bool false; killall Dock By writing an autohide key that is false into com.apple.dock for the currently logged in user, I don’t have to deal with the Dock disappearing any more. You need to kill the Dock and let it respawn, thus the killall as well. Once I’m done working with…

  • Mac OS X Server,  Mac Security,  Mass Deployment

    Enabling ARD, SSH & SNMP On Mountain Lion Server Using serveradmin

    The traditional way to enable Apple Remote Desktop is using the kickstart command. But there’s a simpler way in OS X Mountain Lion Server. To do so, use the serveradmin command. To enable ARD using the serveradmin command, use the settings option, with info:enableARD to set the payload to yes: sudo serveradmin settings info:enableARD = yes Once run, open System Preferences and click on Sharing. The Remote Management box is then checked and the local administrative user has access to ARD into the host. The Server app will also have the “Enable screen sharing and remote management” option checked. There are also a few other commands that can be used…

  • Mac OS X,  Windows Server

    RDP from the Command Line

    Let’s face it, connecting to Windows Servers is a must for many of us. And some of us want to do so programatically. I did look at populating the CoRD database in a previous article. But now, luckily CoRD has recently introduced a command line interface for managing just these types of connections on the fly as well. And, it is very straight forward. There are two ways to call CoRD from the command line. The first is similar to how we handled VNC in an earlier article. Simply leverage the open command and call the URL with a rdp in the beginning. For example, if you want to open…

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

    Sending Command Keys Through ARD

    You can send Command keys (aka – Open Apple and Closed Apple) through Apple Remote Desktop (ARD), or not send the Command keys through ARD. Your call: defaults write com.apple.RemoteDesktop DoNotSendSystemKeys 1 P.S. – Of course these are short, I’m on the road. Sorry for brevity but typing posts on the iPhone is not all it’s cracked up to be…