July 2017
Beginner
208 pages
3h 7m
English
Using scp to a remote computer is a really good idea too and my backup program does that every night as well. Here is how to set up unattended ssh/scp. In this case, the root account on machine 1 (M1) will be able to scp files to the guest1 account on machine 2 (M2). I do it this way because I always disable root access of ssh/scp for security reasons on all my machines.
ssh has been run at least once on each machine. This will set up some needed directories and files.root, run the ssh-keygen -t rsa command. This will create the file id_rsa.pub in the /root/.ssh directory.scp to copy that file to M2 to the /tmp directory (or some other suitable location).home/guest1/.ssh directory.Read now
Unlock full access