Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   openssh-5.4 upgrade warning for publickey users (http://www.linux-archive.org/gentoo-user/340841-openssh-5-4-upgrade-warning-publickey-users.html)

Paul Hartman 03-13-2010 12:09 AM

openssh-5.4 upgrade warning for publickey users
 
Just a quick note for publickey-only sshd users that if you upgrade to
openssh 5.4 the AuthorizedKeysFile entry in sshd_config may need to be
updated or else you won't be able to login to your system.

If you have:
AuthorizedKeysFile .ssh/authorized_keys
(which is the default example in the config file)

change it to this:
AuthorizedKeysFile %h/.ssh/authorized_keys

and then restart sshd.

Thanks to Doktor Notor who posted the solution on bugzilla.
http://bugs.gentoo.org/show_bug.cgi?id=308939

Graham Murray 03-13-2010 06:39 AM

openssh-5.4 upgrade warning for publickey users
 
Paul Hartman <paul.hartman+gentoo@gmail.com> writes:

> Just a quick note for publickey-only sshd users that if you upgrade to
> openssh 5.4 the AuthorizedKeysFile entry in sshd_config may need to be
> updated or else you won't be able to login to your system.
>
> If you have:
> AuthorizedKeysFile .ssh/authorized_keys
> (which is the default example in the config file)
>
> change it to this:
> AuthorizedKeysFile %h/.ssh/authorized_keys
>
> and then restart sshd.

Whereas if you leave the 'AuthorizedKeyFile' line commented out, sshd
still works as expected and looks in ~/.ssh/authorized_keys

Peter Ruskin 03-13-2010 08:31 AM

openssh-5.4 upgrade warning for publickey users
 
On Saturday 13 March 2010 01:09:48 Paul Hartman wrote:
> Just a quick note for publickey-only sshd users that if you
> upgrade to openssh 5.4 the AuthorizedKeysFile entry in
> sshd_config may need to be updated or else you won't be able to
> login to your system.
>
> If you have:
> AuthorizedKeysFile .ssh/authorized_keys
> (which is the default example in the config file)
>
> change it to this:
> AuthorizedKeysFile %h/.ssh/authorized_keys
>
> and then restart sshd.
>
> Thanks to Doktor Notor who posted the solution on bugzilla.
> http://bugs.gentoo.org/show_bug.cgi?id=308939

Thanks for the heads-up - saved me a lot of grief :)

--
Peter
================================================== ======================
Gentoo Linux: Portage 2.2_rc67 kernel-2.6.32-gentoo-r5
AMD Phenom(tm) 9950 Quad-Core Processor gcc(Gentoo: 4.4.3)
KDE: 3.5.10 Qt: 3.3.8b
================================================== ======================


All times are GMT. The time now is 02:53 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.