Difference between revisions of "HowTo BackupPC SSH Key Authentication Setup For rsync Transfer"

From NST Wiki
Jump to navigationJump to search
(Overview)
(Overview)
Line 2: Line 2:
 
= '''Overview''' =
 
= '''Overview''' =
  
This page provides a reference for how to setup '''[https://en.wikipedia.org/wiki/Secure_Shell SSH]''' key-based authentication for '''[http://backuppc.sourceforge.net/ BackupPC]''' '''[https://en.wikipedia.org/wiki/Rsync rsync]''' file transfer backups. Additional information can be found here: '''[http://backuppc.sourceforge.net/faq/ssh.html BackupPC SSH Setup]'''.
+
This page provides a reference for how to setup '''[https://en.wikipedia.org/wiki/Secure_Shell SSH]''' key-based authentication for '''[http://backuppc.sourceforge.net/ BackupPC]''' '''[https://en.wikipedia.org/wiki/Rsync rsync]''' file transfer backups with '''[http://www.networksecuritytoolkit.org NST]'''. Additional information can be found here: '''[http://backuppc.sourceforge.net/faq/ssh.html BackupPC SSH Setup]'''.
  
 
= NST BackupPC Client Setup Example For SSH Key-based Authentication =
 
= NST BackupPC Client Setup Example For SSH Key-based Authentication =

Revision as of 09:38, 14 September 2017

Overview

This page provides a reference for how to setup SSH key-based authentication for BackupPC rsync file transfer backups with NST. Additional information can be found here: BackupPC SSH Setup.

NST BackupPC Client Setup Example For SSH Key-based Authentication

The steps shown below for SSH key-based authentication assumes that the BackupPC user is set to: "backuppc" and the file transfer method is: "rsync".

su - backuppc -s /bin/bash
ssh-keygen -t rsa
ssh root@10.222.222.107
ssh root@10.222.222.107 install -m 700 -d .ssh
cat id_rsa.pub | ssh root@10.222.222.107 tee -a .ssh/authorized_keys