UI
user interfaces at pico
SSH TUI #
With this TUI you can perform a few basic operations like: create an account, manage pubkeys, manage API tokens, invite users.
To use the TUI just SSH into our site:
1ssh pico.sh
SSH CLI #
Some of our services have a built-in cli with our ssh service:
1ssh pico.sh help
2ssh pgs.sh help
3ssh feeds.pico.sh help
4ssh pipe.pico.sh help
pico.sh CLI #
The TUI also comes with a CLI for some commands where it makes sense to print to stdout.
Commands: [help, user, logs, access-logs, chat, not-found, dns-check]
help - this message
user - display user information (returns name, id, account created, pico+ expiration)
logs - stream user logs
access-logs - fetch access logs from the last 30 days
chat - IRC chat (must enable pty with `-t` to the SSH command)
not-found - return all status 404 requests for a host (hostname.com [year|month])
dns-check - check a domain's CNAME/A and TXT records for pgs, prose and tuns custom domains (hostname.com or *.hostname.com)
For example, if you want to drop directly into our chat app without going through the tui:
ssh pico.sh -t chat
Note: the
-tis important since you need to provide pty
Or if you want to stream user logs so you can grep or use other pipe tools:
ssh pico.sh logs
Want to programmatically print your user information?
ssh pico.sh user
Want to print all the status 404s for your sites?
ssh pico.sh not-found bower.sh month # just last month or `year` for the entire year
Want to check the DNS records for a custom domain?
ssh pico.sh dns-check meow.erock.io
<< PREV
File uploads
NEXT >>
Pages