~humaid/huma.id

8ccbd435152e858ef39ea29b6505b4c0dcb9a04a — Humaid 11 months ago 2e70b7f
Improve grammar
1 files changed, 6 insertions(+), 6 deletions(-)

M content/blog/tailscale-ios.md
M content/blog/tailscale-ios.md => content/blog/tailscale-ios.md +6 -6
@@ 6,18 6,18 @@ aliases:
  - "/blog/tailscale-ios"
---

For a really long time, I wanted to access my files anywhere, and unfortunately
For a really long time, I wanted to access my files from anywhere, and unfortunately
there are no applications to securely[^1] sync files between my phone and
computer. Also, keeping a copy of my files on my phone doesn't seem wise from
computer. Also, keeping a copy of my files on my phone didn't seem wise from
an operational security standpoint.


I have been familiarised with [Tailscale](https://tailscale.com/) from `$WORK`,
I was introduced to [Tailscale](https://tailscale.com/) at `$WORK`,
and finally found a use-case for it at home. Tailscale has an
[iOS client](https://tailscale.com/kb/1020/install-ios/) which works really
well, and combined with an iOS SSH client, I am able to `ssh` into my computer.
I use [Terminus](https://apps.apple.com/us/app/termius-terminal-ssh-client/id549039908),
which allows me to also access files over SFTP.
which also allows me to also access files over SFTP.

So far, I prefer to regularly `ssh` and view the files on the terminal, as I
don't have to download the files just to view them (and iOS doesn't come with a


@@ 28,7 28,7 @@ basic text editor!).
I have recently started switching my systems to NixOS, so I have a reproducible
setup across multiple computers.

On NixOS, enabling Tailscale and OpenSSH is easy as defining:
On NixOS, enabling Tailscale and OpenSSH is easy, just define:

```nix
services.tailscale.enable = true;


@@ 42,7 42,7 @@ services.openssh = {

After rebuilding the system, I can simply run `doas tailscale up` to
authenticate. Once Tailscale is installed and authenticated on my iPhone, the
two devices can see each other (`tailscale status` on Linux).
two devices can see each other (run `tailscale status` on Linux).

Next, I put my iPhone's SSH public key in `~/.ssh/authorized_keys`, and now I
can access my laptop anywhere (as long as I keep the lid open, of course!).