To rename bonjour name (also known as local hostname): sudo scutil -set LocalHostName YourLocalHostNameĬheck out the full tutorial on how to rename your computer name, hostname and bonjour name.To rename hostname: sudo scutil -set HostName YourHostName.Replace with the actual name you want to rename your computer.To rename the computer name: sudo scutil -set ComputerName.Using the scutil command, you can rename your computer name, hostname, and local hostname via the Terminal app. ![]() The ability to name each computer in your Mac fleet will allow you to identify and distinguish between them. Rename Computer Name, Hostname, and Bonjour on macOS ![]() Read our full tutorial on how to enable SSH for accessing a remote Mac’s shell securely. To know if SSH has been successfully enabled, simply run and execute the following: To enable SSH, enter and execute the -setremotelogin command as follows: SSH - also known as Secure Socket Shell or Secure Shell - is a secure network protocol that allows users, especially system admins, to securely access remote devices. Enable SSH for Accessing a Remote Mac’s Shell Securely We will briefly discuss the commands here and provide a link to the associated article if you would like to learn more. We’ve put together a full tutorial series on the common commands every Mac admin must know. Sudo -s Figure 5 Five Helpful Mac Terminal Commands Every IT Admin Should Know To gain admin level privileges via the second method, simply run the following command:
0 Comments
Leave a Reply. |