Start / Stop / Restart OpenSSH (Ubuntu)
START Service
sudo /etc/init.d/ssh start
OR
sudo service ssh start

STOP Service
sudo /etc/init.d/ssh stop
OR
sudo service ssh stop

RESTART Service
sudo /etc/init.d/ssh restart
OR
sudo service ssh restart

STATUS
sudo /etc/init.d/ssh status
OR
sudo service ssh status

 

Restart network (Ubuntu)
sudo service network-manager restart
OR
sudo ifconfig eth0 down && sudo ifconfig eth0 up
OR
sudo ip link set eth0 down && sudo ip link set eth0 up

 

Setting up RSYNC
apt-get install rsync
rsync -avz -e ssh /home/root/ root@192.168.10.10:/backup/folder/

 

Setting up CronJob
*/3 * * * * root rsync -avrt --delete --rsh='ssh -p 22' root@SERVER_A_IP_ADDRESS:/path/website/ /backup/path/ >/dev/null 2>&1

 

Setup Rsync with SSH on UNIX / Linux (rsync without password)
ssh-keygen
ssh-copy-id -i ~/.ssh/id_rsa.pub 192.168.200.10

https://crontab.guru/