---
name: "skeyinfo"
section: "1"
platform: "openbsd"
package: "man"
version: "8.0-current-20261101"
release: "OpenBSD 8.0-current (2026-11-01)"
platforms: ["openbsd"]
url: "https://new.carta.tech/skeyinfo"
---

# skeyinfo(1)

obtain the next S/Key challenge for a user

## NAME

**skeyinfo** – obtain the next S/Key challenge for a user

## SYNOPSIS

**skeyinfo** \[**-v**\] \[*user*\]

## DESCRIPTION

**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)](/skeyinit/1.md) 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)](/skeyinit/1.md) program can be used to create an entry for the user.

## SEE ALSO

[skey(1)](/skey/1.md), [skeyinit(1)](/skeyinit/1.md)
