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

From NST Wiki
Jump to navigationJump to search
Line 1: Line 1:
ssh-keygen -t rsa
+
 
  
 
  su - backuppc -s /bin/bash
 
  su - backuppc -s /bin/bash
 +
 +
ssh-keygen -t rsa
  
 
  ssh root@10.222.222.107
 
  ssh root@10.222.222.107

Revision as of 06:57, 14 September 2017


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