sudo apt-get install openssh-server
sudo vi /etc/ssh/sshd_config
#PermitRootLogin prohibit-password
PermitRootLogin yes
sudo passwd root
sudo service sshd restart
rsync -auv /backup/wordpress.sql root@192.168.1.73:/var/www/html
sudo apt-get install openssh-server
sudo vi /etc/ssh/sshd_config
#PermitRootLogin prohibit-password
PermitRootLogin yes
sudo passwd root
sudo service sshd restart
rsync -auv /backup/wordpress.sql root@192.168.1.73:/var/www/html
コメント