skeyinfo(1)

skeyinfo1

Obtain the next s/key challenge for a user

Usage

skeyinfo [-v] [user]

Overview

skeyinfo prints out the next S/Key challenge for the specified user or for the current user if no user is specified.

The options are as follows:

-v

Print the hash algorithm as well.

Files

/etc/skey

directory containing user entries for S/Key

Examples

$ skey -n <number of passwords to print> `skeyinfo` | lpr

This would print out a list of S/Key passwords for use over an untrusted network (perhaps for use at a conference).

Diagnostics

cannot open /etc/skey/user

The user does not have an entry in /etc/skey or access to the S/Key database has been disabled. The database can be enabled with the skeyinit(1) program.

user is not listed in /etc/skey

The S/Key database is enabled but the user does not have an entry in it. The skeyinit(1) program can be used to create an entry for the user.

Releases

61 releases since OpenBSD 2.1; the text changed 10 times.

  1. 2.1
  2. 2.2–2.3
  3. 2.4–2.6
  4. 2.7–2.9
  5. 3.0–3.1
  6. 3.2–3.3
  7. 3.4–3.7
  8. 3.8–4.1
  9. 4.2–5.4
  10. 5.5–5.6
  11. 5.7–8.0

-v since OpenBSD 2.7.

-a until OpenBSD 3.1.

From man 8.0-current-20261101 in OpenBSD 8.0-current (2026-11-01). Parsed by carta from the page's mdoc source.