Solution #00003909
Scope:
All Barracuda Backup Servers, all firmware versions.
Scope:
The Barracuda Backup Service uses SSHFS to back up data stored on a Mac OS X server running an SSH daemon. To allow your Backup Server to securely connect to your server, you must use a public key.
Create a Root Account
Set up a root account based on your software release.
OS X Yosemite/El Capitan OS X (10.10 and higher)
- From the Apple menu, click System Preferences.
- From the View menu, click Users & Groups.
- Select Remote Login. For allow access for, select All users.
Mac OS X v10.6.x
- From the Apple menu, click System Preferences.
- From the View menu, click Accounts.
- Click the lock and authenticate as an administrator account.
- Click Login Options, and click Edit at the bottom right of the screen.
- Click Open Directory Utility, and in the Directory Utility, click the lock.
- Enter the administrator account name and password, and click OK
- From the Edit menu, click Enable Root User.
- Enter the root password you wish to use in both the Password and Verify fields, and click OK.
Mac OS X v10.5.x
- From the Finder's Go menu, choose Utilities, and open Directory Utility.
- Click the lock in the Directory Utility window.
- Enter an administrator account name and password, and click OK.
- From the Edit menu, click Enable Root User.
- Enter the root password you wish to use in both the Password and Verify fields, and click OK.
Mac OS X v10.3.x through v10.4.x
- Click the Finder icon in the Dock.
- From the Go menu, click Applications.
- Open the Utilities folder.
- Open the NetInfo Manager utility.
- Click the lock in the NetInfo Manager window.
- Enter the administrator account name and password, and click OK
Mac OS X 10.2
For Mac OS X 10.2 and later, choose Enable Root User from the Security menu.
Mac OS X 10.0 and 10.1
- From the Domain menu, point to Security, and click Enable Root User.
- If you have not previously set a root password, an alert box displays the message NetInfo Error, indicating that the password is blank. Click OK.
- Enter the root password you wish to use, and click Set.
- Enter the password again, and click Verify.
- Click the lock to prevent changes.
Log in as the Root User
- Open the /etc/sshd_config file, and navigate to the line PermitRootLogin.
- Uncomment the line, and set the value to yes:
PermitRootLogin yes - Run the following commands to stop and restart sshd:
launchctl stop com.openssh.sshd
launchctl start com.openssh.sshd
You can now log in using the root account based on your software release.
Mac OS X v10.2 and Later
- If you are logged in, choose Log Out from the Apple menu.
- If you are logging in from a list of usernames with pictures, click Other.
- In the Name field, type: root
- In the Password field, type the password you defined earlier.
Mac OS X v10.0 to v10.1.5
- If you are logged in, choose Log Out from the Apple menu.
- In the Name field, type: root
- In the Password field, type the password you defined earlier.
Set up SSH Key for Mac
For each local Barracuda Backup appliance, identify the data sources that are to be backed up. There may be more than one data source on each server, and each can have unique backup characteristics.
- Log in to the Barracuda Backup web interface, and select the associated Barracuda Backup appliance in the left pane.
- Go to the BACKUP > Sources page, and click Add Computer to identify the computer.
- Enter the IP address of the Mac Server.
- From the Computer Type drop-down menu, select Mac OS X.
- In the Mac OS X Information section, enter root in the Username field.
- Download the SSH Key installer, and run the setup.
- Once the key is installed, save the settings. Click Save in the web interface.
- In the Add Data Source page, enter the remaining system details.
- In the Folder Selection section, you can Select All Folders for backup, or click Pick Certain Folders to specify individual folders for backup.
- Click Save.
Link to This Page: