How a device login is decided
By the end you can
- List the five things that decide a device login and say what each one does
- Explain how the same user gets different rights on different vendors
- Describe what a jump server rule can and cannot do
Start with the problem
An engineer types ssh router1, a username and a password. Two things must now be decided: may this person in, and what may they do once inside? A senior engineer should get full rights. A junior engineer should only be able to look. A script should get something in between.
Every router vendor writes this down differently. Cisco wants shell:priv-lvl=15. Juniper wants the name of a local template user. Authcha lets you describe the rule once, by kind of person, and translates it for each vendor.
The five pieces
Every device login is decided by these five pieces of configuration, in this order.
user ──▶ user type ──▶ jump server rule ──▶ effective user type
│
network device ──▶ device type (vendor) ─────────┤
▼
privilege mapping ──▶ reply attributes
(priv-lvl, role...)- User. A person or an automation account, with a password, a mobile number and one user type. The seeded types are
human-write,human-read,automationandlookingglass. You can add your own, such asnoc-l1. - Jump server rule (optional). Which source addresses a user type may log in from. A rule can also downgrade a user: a
human-writeuser connecting from a read-only bastion is treated ashuman-read. Rules never upgrade anyone. - Network device. Each router, switch or firewall is registered with its IP address and a device type, which is its vendor profile.
- RADIUS client. The shared secret the device uses to talk to Authcha.
- Privilege mapping. For each vendor, which privilege group each effective user type receives. The group holds the vendor's reply attributes.
Because the mapping is per vendor, one user account works across a mixed fleet. You do not create a separate account for every vendor.
A worked example
Take a user asha of type human-write, logging in to a Cisco switch from the read-only bastion 192.0.2.20.
| Step | What happens |
|---|---|
| Jump server rule | The rule for 192.0.2.20 says human-write becomes human-read |
| Effective user type | human-read |
| Device type | The switch is registered as ios |
| Privilege mapping | human-read on ios maps to CISCO-OPER (read-only) |
| Reply | The switch receives the read-only privilege for this login |
If asha connects from the write bastion 192.0.2.30 instead, the rule keeps human-write, the mapping gives CISCO-ADMIN, and the switch receives shell:priv-lvl=15. Same person, same password, different rights, decided by where the login came from.
What Authcha ships with
Authcha ships privilege presets for 35 vendors, and mappings for the four seeded user types on the common ones. For example, human-write on Cisco IOS maps to CISCO-ADMIN, on Juniper to a local template user raduser5, and on Nokia SR OS to Nokia-Admin. Review these before go-live and adjust them to your own privilege model. Changes take effect on the next login with no restart.
LabHands-on
- Open the live demo as
demo-viewer(passwordAuthcha-View-2026). - Open Users. Pick any user and note its user type.
- Open User Types and find the four seeded types.
- Open Jump Servers. Find the setting that says whether jump servers are needed, and note whether it is Required or Optional.
- Open Devices. Pick a device and note its device type.
- Open the Auth Simulator. Enter a username, a device IP and a source IP from the lists you just viewed. Read the four steps it shows and the reply attributes at the end. The simulator never sends a code and never changes any counter.
- Change only the source IP and run it again. Did the effective user type change?
Check yourselfQuiz
Cheat sheetKeep this
- The five pieces: user, jump server rule, device, RADIUS client, privilege mapping.
- Seeded user types:
human-write,human-read,automation,lookingglass. - Rules lower rights, never raise them.
- Jump servers: Optional on new installs, Required if rules already existed.
- Test without side effects: Try It → Auth Simulator.
- Read more: Getting started.