---
name: "xrdp-keygen"
section: "8"
platform: "linux"
package: "xrdp"
version: "0.10.1-3.1+deb13u2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/xrdp-keygen"
---

# xrdp-keygen(8)

xrdp RSA key generation utility

## NAME

xrdp-keygen - xrdp RSA key generation utility

## SYNOPSIS

**xrdp-keygen xrdp** \< *outfile* \| **auto** \>\
 **xrdp-keygen test**

## DESCRIPTION

**xrdp-keygen** generates the file */etc/xrdp/rsakeys.ini* which contains the RSA key pair used to perform authentication to remote clients. The public key is self-signed.

## OPTIONS

This program takes one of the following options:

- **xrdp** *outfile*

  Generate a new key pair. The key data is stored in the file named *outfile*.\
   If **auto** is used as *outfile*, the default file */etc/xrdp/rsakeys.ini* gets created if it does not yet exists.

- **test**

  Generate a test key pair and print information to standard output.

## FILES

- */etc/xrdp/rsakeys.ini*

  RSA public and private key pair used to identify this XRDP server.

## SEE ALSO

[**xrdp**(8)](/xrdp/8.md), [**xrdp-sesman**(8)](/xrdp-sesman/8.md).

## AUTHOR

This manual page was originally written by Vincent Bernat \<bernat@luffy.cx\>.
