Skip to content

Commit 0648927

Browse files
committed
docs: more tui images and access logs page
1 parent 6add9c9 commit 0648927

File tree

7 files changed

+32
-2
lines changed

7 files changed

+32
-2
lines changed

main.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,11 @@ func main() {
137137
Href: "/logs",
138138
Page: pager("logs.md"),
139139
},
140+
{
141+
Text: "Access Logs",
142+
Href: "/access-logs",
143+
Page: pager("access-logs.md"),
144+
},
140145
{
141146
Text: "Host Keys",
142147
Href: "/host-keys",

posts/access-logs.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Access Logs
3+
description: See which pubkeys accessed which services
4+
---
5+
6+
We provide a TUI page dedicated to viewing access logs into your pico account. This page will show you everytime a pubkey successfully authenticated with a service in your pico account.
7+
8+
```bash
9+
ssh pico.sh
10+
# -> access_logs
11+
```
12+
13+
On that page we also provide the ability to filter the logs.
14+
15+
![pico-logs](/pico-access-logs.png)
16+
17+
You can also fetch logs directly in the terminal:
18+
19+
```bash
20+
ssh pico.sh -t access_logs
21+
```
22+
23+
This makes it easier to pipe into tools like `jq` for more advanced viewing and filtering.

posts/bouncer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ We are delighted to provide a private soju instance available to all [pico+](/pl
1313
1414
# Generate a login token for bouncer
1515

16-
![pico-token-menu](https://blog.pico.sh/pico-token-menu.png)
16+
![pico-token-menu](/pico-tokens.png)
1717

1818
- SSH into our [pico TUI](/ui#ssh-tui)
1919
- Select "Manage Tokens" submenu

posts/logs.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ We provide a TUI page where the user to view realtime logs.
1111
1212
```bash
1313
ssh pico.sh
14-
# -> Logs
14+
# -> logs
1515
```
1616

1717
On that page we also provide the ability to filter the logs.
1818

19+
![pico-logs](/pico-logs.png)
20+
1921
You can also fetch logs directly in the terminal:
2022

2123
```bash

static/pico-access-logs.png

452 KB
Loading

static/pico-logs.png

386 KB
Loading

static/pico-tokens.png

79.8 KB
Loading

0 commit comments

Comments
 (0)