Backup and Restore Prerequisites

1. Remote machine is Centos and Local machine is Windows, install Cygwin (including “Admin,” “Base,” “Devel,” and “Net”)
2.  Create SSH key
#local machine$  ssh-keygen -t dsa
#remote machine$ ssh-keygen -t dsa
#remote machine$ vim ~/.ssh/authorized_keys
run as root, and enter the copied key from C:\cygwin\home\[username]\.ssh\
Edit /etc/ssh/sshd_config and uncomment:
RSAAuthentication yes
PubkeyAuthentication yes3.
Posted on Categories Linux

Leave a Reply

Your email address will not be published. Required fields are marked *