Viet's Blog

Rsync

Securely Publish Hugo via rsync

  • Jun 4, 2017
  • POST
Steps 1. Install rssh Install rssh to limit shell activity for users using the shell rssh: sudo apt-get install rssh Now edit the config file /etc/rssh.conf to allow scp and rsync: allowscp allowrsync #allowsftp #allowcvs #allowrdist #allowsvnserve NOTE: Since you are going through SSH, you don’t need to enable firewall rule for rsync. # DO NOT RUN this: sudo ufw allow rsync # You can safely run this: $ sudo ufw delete allow rsync 2.
LATESTS
Make Grub Font Size Bigger
  • Sep 22, 2019
  • POST
Endianness Agnostic ntoh
  • Jun 22, 2019
  • POST
Upcoming Posts
  • Jun 15, 2019
  • POST
Taming Elementary OS
  • May 11, 2019
  • POST
Fix Wifi for Ubuntu on Microsoft Surface
  • May 11, 2019
  • POST
Endianness Detection the Hard Way
  • Jun 17, 2018
  • POST
OCaml Packaging With Topkg and OPAM
  • May 28, 2018
  • POST
Safer C++ By Handling Function Result
  • May 12, 2018
  • POST
P2P Browsing Web With Beaker and Dat
  • Mar 31, 2018
  • POST
Edit and Annotate PDF
  • Mar 30, 2018
  • POST
CATEGORIES
TAGS
  • dev
  • tips
  • ubuntu
  • hugo
  • blog
  • c++
  • config
  • git
  • security
  • social-media

© Viet's Blog

Powered by Hugo.

Robust designed by Daisuke Tsuji.