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>Example:
ckc config edit -H 127.0.0.1 -p 8080 -u team01
ckc login -u team01 -P SuperSecretWhat it does:
- updates local config (
client.yml) - logs in through
/api/v1/auth/login - stores session token
- fetches shared config and writes
shared.yml
Login flags are username/password; host/port are configured via ckc config edit.

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?