Re: PubkeyAuth disallowed for root only?
- From: Darren Tucker <dtucker@xxxxxxxxxx>
- Date: Fri, 20 Apr 2007 09:30:08 +1000
Dirk H. Schulz wrote:
Hi folks,
we have a very weird phenomenon:
On two of our RedHat EL4 Update 4 servers root cannot login via ssh using public keys. All other users can. root is asked for a password instead.
sshd_config is RHEL4 default (that means pubkey auth allowed etc.), and the rest is as well. The public keys are correctly appended to /root/.ssh/authorized_keys. Rights on .ssh and its files are correct. I have even tarred+gzipped and copied roots .ssh directory to another server and tested there.
Maybe /root, / or /root/.ssh is group or world writable?
Failing that, if you either run sshd in debug mode (/path/to/sshd -ddd) or increase LogLevel in sshd_config then the server will provide more information about why the authentication was denied.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
- References:
- PubkeyAuth disallowed for root only?
- From: Dirk H. Schulz
- PubkeyAuth disallowed for root only?
- Prev by Date: Re: Detecting port forwarding on server-side.
- Next by Date: X11Forwarding problem on Solaris.
- Previous by thread: Re: PubkeyAuth disallowed for root only? - solved
- Next by thread: openssh-4.2p1-chroot on Tru64 Unix 5.1b
- Index(es):
Relevant Pages
|
|