3 ms·
Restricting SSH connections to devices within a Tailscale network
- julienchastang 7y agoI 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
- carapace 7y agoAlso cool! Why "| tee -a" instead of ">>"?
- julienchastang 7y agoNot 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.
- ftftytfty 7y agoDespite 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.