Enabling root SSH access for OSX
-
To enable root SSH access on an OSX computer follow the process below
First ssh into the target computer as the local admin account
ssh [email protected]
su adminAccount
Admin Account Password
sudo su -
sudo vi /etc/ssh/sshd_configEdit the below
#PermitRootLogin prohibit-passwordTo
PermitRootLogin yeswq
DisconnectWith SSH enabled for the root account, you can do more things, like remotely rsync a users profile to a new workstation. Obviously this poses some risks, which is why ssh for root is disabled by default.