ltsp-update-sshkeys8
Update ltsp chroots to trust the server ssh keys
Usage
ltsp-update-sshkeys [OPTION]
[host ...]
Overview
If any hosts are specified, their SSH keys are exported in a file, by default /etc/ltsp/ssh_known_hosts.auto. 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.
Options
-
-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/ssh_known_hosts.auto 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.
-
--version -
Output version information and exit.
Files
/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.
Releases
7 releases since Debian 4.0 (Etch); the text changed 4 times.
--base since Debian 7 (Wheezy);
--export since Debian 7 (Wheezy);
--help since Debian 7 (Wheezy);
--port since Debian 7 (Wheezy);
--update since Debian 7 (Wheezy);
--version since Debian 8 (Jessie);
-b since Debian 7 (Wheezy);
-e since Debian 7 (Wheezy);
-h since Debian 7 (Wheezy);
-p since Debian 7 (Wheezy);
-u since Debian 7 (Wheezy).