Difference between revisions of "HowTo BackupPC SSH Key Authentication Setup For rsync Transfer"
From NST Wiki
Jump to navigationJump to searchLine 1: | Line 1: | ||
− | ssh-keygen -t rsa | + | ssh-keygen -t rsa |
− | ssh root@10.222.222.107 | + | su - backuppc -s /bin/bash |
− | 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 | + | 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 |
Revision as of 06:56, 14 September 2017
ssh-keygen -t rsa
su - backuppc -s /bin/bash
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