Your Private Network code · Part 6 — Going Further

Chapter 15 Tailscale SSH and Running Your Own Control Server

3 blocks

Tailscale SSH

#

Run Terminal, on the Linux server
sudo tailscale set --ssh

#

Run Terminal, on the device you're connecting from
ssh jane@media

#

Add to Admin console → Access controls (the tailnet policy file)

The file's ssh section.

"ssh": [
  {
    "action": "check",
    "src": ["group:adults"],
    "dst": ["tag:home"],
    "users": ["autogroup:nonroot"],
    "checkPeriod": "1h"
  }
]

Reproduced exactly from Your Private Network, Chapter 15. The book explains what each line does and what to do when it doesn't work. About the book

Something here not working as the book describes? Tell the author.