]> git.proxmox.com Git - pve-docs.git/commitdiff
ssh: document PVE-specific setup
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 11 Jan 2024 10:51:20 +0000 (11:51 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 19 Apr 2024 07:10:33 +0000 (09:10 +0200)
such as adapted configs and managed files.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
pvecm.adoc

index 2c0e8a4a678032e72996962a3f05ed93773b20ea..5117eaa90ca2139737c729c7e90ffb7217f0c770 100644 (file)
@@ -922,6 +922,24 @@ transfer memory and disk contents.
 
 * Storage replication
 
+SSH setup
+~~~~~~~~~
+
+On {pve} systems, the following changes are made to the SSH configuration/setup:
+
+* the `root` user's SSH client config gets setup to prefer `AES` over `ChaCha20`
+
+* the `root` user's `authorized_keys` file gets linked to
+  `/etc/pve/priv/authorized_keys`, merging all authorized keys within a cluster
+
+* `sshd` is configured to allow logging in as root with a password
+
+NOTE: Older systems might also have `/etc/ssh/ssh_known_hosts` set up as symlink
+pointing to `/etc/pve/priv/known_hosts`, containing a merged version of all
+node host keys. This system was replaced with explicit host key pinning in
+`pve-cluster <<INSERT VERSION>>`, the symlink can be deconfigured if still in
+place by running `pvecm updatecerts --unmerge-known-hosts`.
+
 Pitfalls due to automatic execution of `.bashrc` and siblings
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~