4 comments

[ 3.7 ms ] story [ 17.6 ms ] thread
I do:

  echo | tee -a /etc/ssh/sshd_config
  echo "AllowUsers *@xxx.xxx.xxx.xxx" | tee -a /etc/ssh/sshd_config
  echo "sshd:   xxx.xxx.xxx.xxx" | tee -a /etc/hosts.allow
  echo "All:   All" | tee -a /etc/hosts.deny
Also cool!

Why "| tee -a" instead of ">>"?

Not sure why I used tee (did this a long time ago). Maybe I was having some trouble with >> or maybe thought tee read more cleanly. Don't remember.
Despite the excessive shilling for Tailscale here, it is still a child toy compared to Teleport when it comes to serious zero trust SSH, a true FOSS that can be self hosted without giving up your privacy and depending on an external service to make your "FOSS" piece of software work.