Skip to content

Commit

Permalink
docs: faq and tuns
Browse files Browse the repository at this point in the history
  • Loading branch information
neurosnap committed Nov 7, 2024
1 parent 3b08cf7 commit 17a8de0
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
20 changes: 18 additions & 2 deletions posts/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ ssh -o IdentitiesOnly=yes -i ~/.ssh/id_ed25519 pico.sh
The other is with an SSH config entry (`~/.ssh/config`):

```bash
Host pico.sh pgs.sh prose.sh
Host pico.sh pgs.sh prose.sh tuns.sh
IdentitiesOnly yes
IdentityFile ~/.ssh/id_ed25519
```
Expand Down Expand Up @@ -103,7 +103,23 @@ mind that each [pico+](/plus) membership is assigned to a single account.

# Can I associate multiple SSH keypairs to a single account?

Yes! You can manage your pubkeys for an account via our CMS:
Yes! There are two ways to manage SSH keys:

## authorized_keys file

We support the `authorized_keys` file format which lets users send and receive
their virtual authorization file:

```bash
rsync pico.sh:/authorized_keys .
# edit keys (add, remove, edit comments)
rsync ./authorized_keys .
```

> Caveat: as a safety precaution, we will **never** remove the pubkey currently
> being used.
## tui

```bash
ssh pico.sh
Expand Down
16 changes: 16 additions & 0 deletions posts/tuns.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,22 @@ ssh -R dev:80:localhost:8000 tuns.sh
# now anyone can access it at https://{user}-dev.tuns.sh
```

# User namespace

When creating a tunnel to `tuns` we always prefix the name with your username:

```
{user}-{name}.tuns.sh
```

This includes when a client is using tuns as a ProxyJump:

```bash
ssh -R foobar:22:localhost:22 tuns.sh
# On the client side
ssh -J tuns.sh {user}-foobar
```

# tunmgr

A tunnel manager for docker services.
Expand Down

0 comments on commit 17a8de0

Please sign in to comment.