Client
Client Authentication
Login/logout for `ckc` and local session handling.
Client Authentication
Client auth is cookie-JWT based, with token stored locally in ~/.config/cookiefarm/session.
Login
ckc login -u <username> -P <password> [-H <host>] [-p <port>]Example:
ckc login -u team01 -P SuperSecret -H 127.0.0.1 -p 8080What it does:
- if
-H/-pare given, updates and persists local config (client.yml) with the new host/port - logs in through
/api/v1/auth/login - stores session token
- fetches shared config and writes
shared.yml
-H/-p on login only set host/port. https is still configured via ckc config edit -s.

Logout
ckc logout
Removes local session file.
Show current config
ckc config show
Common Errors
Login failed: wrong password or server unreachable.shared configuration has changed: run login again (ckc login -u <user> -P <password>) to resyncshared.yml.
How is this guide?