Technical Support Pages


How do I configure a Network tape backup using Linux 2.6.x?
ssh trust remote tape Network BackupEDGE Linux
Product Release(s)
03.00.05 and later
Operating System(s)
Linux (libc)
Problem Description
How do I setup a Network Backup to a remote server's tape drive using a Linux 2.6 kernel?
I have Linux server without a tape drive that I would like to backup to another Linux server on our Network.
To accomplish this task, we will have to set up a trust between the two servers ( & which we will refer to as remote and tapeserv) so a remote login without a password can be used to run the backup job. This is done through the use of SSH keys to increase the trust between the two servers.

So for example we would setup an SSH login with the user root on machine by generating a pair or public keys using the command:

ssh-keygen -t rsa

You will then be asked a series of options which you can press enter to accept the defaults. Once this key is generated, on to the next step.

Login to tapeserv using SSH as root and create the .ssh directory under /home/root by using the command:

ssh root@ mkdir -p .ssh
At this point, you'll see the following:

The authenticity of host ' (' can't be established. RSA key fingerprint is d6:53:94:43:b3:cf:d7:e2:b0:0d:50:7b:17:32:29:2a. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '' (RSA) to the list of known hosts. root@'s password [Enter Your Password Here]

Enter the root password for tapeserv at the prompt.

Next upload the Generated Public Keys to (tapeserv).

Use SSH from and upload the newly generated public key ( with the command:

cat .ssh/ | ssh root@ 'cat >> .ssh/authorized_keys

Again, you'll be prompted for the root password from Enter it to continue.

At this point, you will need to set permissions on tapeserv. The .ssh directory and authorized_keys file using the command:

ssh root@ "chmod 700 .ssh; chmod 640 .ssh/authorized_keys"

Again you will be asked to enter the root password for tapeserv.

From here you can proceed configuring the Network Backup as described in Fax49
See Also
How do I set up a Network Backup?

Get a printer-friendly version of this document



Last Updated - 2022/01/03