From c4e006fce61400b567d7c47e04a63c82e36ec5d6 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Fri, 11 Oct 2013 22:06:40 +0200 Subject: [PATCH] ssh_config,sshd_config: Minor documentation updates. --- ssh_config | 4 +++- sshd_config | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ssh_config b/ssh_config index 2445a4e..4f239be 100644 --- a/ssh_config +++ b/ssh_config @@ -61,7 +61,9 @@ Host * # Allow using -M (ControlMaster) to create a master SSH session which # "tunnels" other connections to the same host, thus reducing the number of # authentications (which are relatively slow) and TCP connections. The master -# sockets are stored in ~/.ssh (by default ControlPath is not set). +# sockets are stored in ~/.ssh (by default ControlPath is not set). Using %r +# (remote user name) might leak information to other users on the current +# system (e.g. via netstat or lsof). ControlPath ~/.ssh/master-%l-%h-%p-%r # Automatically create a new master session if there's none yet or use an # existing one. This way the user doesn't have to use -M to enable a master diff --git a/sshd_config b/sshd_config index 4f54f5e..fe57dc6 100644 --- a/sshd_config +++ b/sshd_config @@ -70,7 +70,7 @@ PermitUserEnvironment no # minutes. ClientAliveCountMax 3 -# Enable sftp (and sshfs) usage. +# Enable sftp (and sshfs) usage. internal-sftp also works in chroots. Subsystem sftp internal-sftp -- 2.43.2