Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 May 2010 19:02:56 +0200 (CEST)
From:      David BERARD <david@nfrance.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        contact@davidberard.fr
Subject:   conf/146334: OpenSSH 5.4 AuthorizedKeysFile bad syntax in sshd_config
Message-ID:  <201005051702.o45H2uEB041694@pontiac3.nfrance.com>
Resent-Message-ID: <201005051740.o45He5jP080144@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         146334
>Category:       conf
>Synopsis:       OpenSSH 5.4 AuthorizedKeysFile bad syntax in sshd_config
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 05 17:40:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     David BERARD
>Release:        FreeBSD 8.0-STABLE i386
>Organization:
NFrance Conseil
>Environment:
System: FreeBSD beaver.polymorf.fr 8.0-STABLE FreeBSD 8.0-STABLE #2: Wed May 5 07:46:09 UTC 2010 root@beaver.nfrance.com:/usr/obj/usr/src/sys/BEAVER i386


>Description:
	Since FreeBSD 8.0-STABLE use OpenSSH 5.4p1 new AuthorizedKeysFile syntax should be used in sshd_config.
	OpenSSH 5.5 revert to old old syntax style (see openssh changelog)
>How-To-Repeat:
>Fix:

	See attached diff

--- sshd_config.patch begins here ---
--- ./crypto/openssh/sshd_config	2010-05-05 16:46:38.000000000 +0000
+++ ./crypto/openssh/sshd_config	2010-05-05 16:47:02.000000000 +0000
@@ -49,7 +49,7 @@
 
 #RSAAuthentication yes
 #PubkeyAuthentication yes
-#AuthorizedKeysFile	.ssh/authorized_keys
+#AuthorizedKeysFile	%h/.ssh/authorized_keys
 
 # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
 #RhostsRSAAuthentication no
--- sshd_config.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005051702.o45H2uEB041694>