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
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.
4 comments
[ 3.7 ms ] story [ 17.6 ms ] threadWhy "| tee -a" instead of ">>"?