From d6bc16dec33a2924f71d34f5439039d494aad7aa Mon Sep 17 00:00:00 2001 From: dtucker Date: Fri, 13 Jan 2023 03:16:29 +0000 Subject: [PATCH] Document "UserKnownHostsFile none". ok djm@ --- usr.bin/ssh/ssh_config.5 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/usr.bin/ssh/ssh_config.5 b/usr.bin/ssh/ssh_config.5 index 33dea78cec4..658fa739f6e 100644 --- a/usr.bin/ssh/ssh_config.5 +++ b/usr.bin/ssh/ssh_config.5 @@ -33,8 +33,8 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $OpenBSD: ssh_config.5,v 1.376 2022/11/28 01:37:36 djm Exp $ -.Dd $Mdocdate: November 28 2022 $ +.\" $OpenBSD: ssh_config.5,v 1.377 2023/01/13 03:16:29 dtucker Exp $ +.Dd $Mdocdate: January 13 2023 $ .Dt SSH_CONFIG 5 .Os .Sh NAME @@ -1966,6 +1966,12 @@ the tokens described in the section and environment variables as described in the .Sx ENVIRONMENT VARIABLES section. +A value of +.Cm none +causes +.Xr ssh 1 +to ignore any user specific known hosts files. +.user-specific known hosts files. The default is .Pa ~/.ssh/known_hosts , .Pa ~/.ssh/known_hosts2 . -- 2.20.1