ltsp-update-sshkeys [\,OPTION\/] [\,host\/...]


If any hosts are specified, their SSH keys are exported in a file, by default \,/etc/ltsp/\/. Otherwise, all LTSP chroots are updated to trust the SSH keys of this server along with any additional keys in \,/etc/ltsp/ssh_known_hosts\/.* files.


-b, --base[=\,PATH\/]

The LTSP base directory Defaults to \,/opt/ltsp\/ if unspecified.

-e, --export[=\,FILE\/]

File name to export the hosts SSH keys to (- for stdout). Defaults to \,/etc/ltsp/\/ if unspecified.

-h, --help

Displays the ltsp-update-sshkeys help message.

-p, --port[=\,PORT\/]

SSH port for remote servers.

-u, --update

Update the chroot SSH keys even if hosts are specified.


Output version information and exit.


Part of the ltsp package and the latest versions are available in source form from


/etc/ltsp/<tool>.conf: Upon execution the tool will read a configuration file to override built-in defaults.

Values are NAME="VALUE" pairs, with # representing commented lines. most commandline options have an equivalent. an example Debian based system with an alternate base location, architecture, and distribution:

# set alternate default location for ltsp chroot (--base) BASE="/srv/ltsp" # build an amd64 chroot by default (--arch) ARCH="amd64" # build a Debian sid environment (--dist) DIST="sid"

/etc/ltsp/ltsp-server.conf: Each LTSP server tool will read a generic configuration file. This file is typically used for setting BASE, TFTP_DIRS and TFTP_BOOT_DIR. These settings are overwritten by those set in specific tool configs.


Autogenerated from the script source code with help2man. Distributed under the terms of the GNU General Public License version 2 or any later version.


Report bugs to

RELATED TO ltsp-update-sshkeys…

ltsp-build-client(8), ltsp-update-kernels(8), ssh-keyscan(1), sshd(8)