public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] openssh-5.4 upgrade warning for publickey users
@ 2010-03-13  1:09 Paul Hartman
  2010-03-13  7:39 ` Graham Murray
  2010-03-13  9:31 ` Peter Ruskin
  0 siblings, 2 replies; 3+ messages in thread
From: Paul Hartman @ 2010-03-13  1:09 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] openssh-5.4 upgrade warning for publickey users
  2010-03-13  1:09 [gentoo-user] openssh-5.4 upgrade warning for publickey users Paul Hartman
@ 2010-03-13  7:39 ` Graham Murray
  2010-03-13  9:31 ` Peter Ruskin
  1 sibling, 0 replies; 3+ messages in thread
From: Graham Murray @ 2010-03-13  7:39 UTC (permalink / raw
  To: gentoo-user

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] openssh-5.4 upgrade warning for publickey users
  2010-03-13  1:09 [gentoo-user] openssh-5.4 upgrade warning for publickey users Paul Hartman
  2010-03-13  7:39 ` Graham Murray
@ 2010-03-13  9:31 ` Peter Ruskin
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Ruskin @ 2010-03-13  9:31 UTC (permalink / raw
  To: gentoo-user

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
========================================================================



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-13 10:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-13  1:09 [gentoo-user] openssh-5.4 upgrade warning for publickey users Paul Hartman
2010-03-13  7:39 ` Graham Murray
2010-03-13  9:31 ` Peter Ruskin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox