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

From NST Wiki
Jump to navigationJump to search
(Created page with "XXX")
 
Line 1: Line 1:
XXX
+
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

Revision as of 06:54, 14 September 2017

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