conf/146334: OpenSSH 5.4 AuthorizedKeysFile bad syntax in sshd_config

David BERARD david at nfrance.com
Wed May 5 17:40:05 UTC 2010


>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 at 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:


More information about the freebsd-bugs mailing list