🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81738

Re: Authentication for rsync over ssh failing

#81738
From: Ray Banana
Date: Tue, 04 Aug 2009 05:44
32 lines
2499 bytes
Thus spake "John F. Morse" <john@example.invalid>
 
> opening connection using: ssh -i /var/spool/news/.ssh/authorized_keys -l
> news inn2 rsync --server --sender -vvnlogDtprze.iL .
> /var/spool/news/testfile
> A tail of /var/log/auth.log on inn2 shows the following:
> Aug  3 22:39:36 inn2 sshd[947]: Authentication refused: bad ownership or
> modes for directory /var/spool/news
[...]
> I also do not understand the report "Authentication refused: bad
> ownership or modes for directory /var/spool/news" in the tail of the
> auth.log of sshd on inn2. There are no improper ownerships nor
> permissions. 

Please check the permissions for your .ssh directory and authorized_keys
file. They should be 700 for the .ssh directory and 600 for the
authorized_keys file.

> If there were, the manual authentication would fail.

As the manual authentication does not use the .ssh/ directory, your
assumption is wrong. Your manual authentication uses pam_unix.

http://sial.org/howto/openssh/publickey-auth/problems/

And, of course, this problem is not related to news.software.*nntp*

hth

-- 
Time flies like an arrow, fruit flies like a Banana.
http://www.eternal-september.org
Technical Details
Message-ID: <80ocqwqgiy.fsf@banana.shacknet.nu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!feeder.eternal-september.org!eternal-september.org!banana.shacknet.nu!motzarella.org!not-for-mail
References: <h58ftm$ndc$1@optima5.xanadu-bbs.net>

Show Full Headers
Complete Article Headers
Message-ID: <80ocqwqgiy.fsf@banana.shacknet.nu>
Subject: Re: Authentication for rsync over ssh failing
Date: Tue, 04 Aug 2009 07:44:53 +0200
From: Ray Banana <rayban@banana.shacknet.nu>
References: <h58ftm$ndc$1@optima5.xanadu-bbs.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!feeder.eternal-september.org!eternal-september.org!banana.shacknet.nu!motzarella.org!not-for-mail
Newsgroups: news.software.nntp
Organization: A noiseless patient spider
Lines: 32
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: banana.shacknet.nu 1249364733 63310 10.1.30.101 (4 Aug 2009 05:45:33
 GMT)
X-Complaints-To: abuse@banana.shacknet.nu
User-Agent: Plonkenlights
X-Attribution: Ray Banana
Cancel-Lock: sha1:Ufn1TINym+C3lsRxJPrQLtitozk=
X-PGP-Sig: 2.6.3ia Subject,Message-ID,Date,From,User-Agent
 iQCVAwUBSnfK+RFgDSXFGJ/lAQGeewP/WFtMyST25nBT4+cGVxRst+Hf5qZhLJhp
 y5p2h4HgxBD/ZHFfUQN8R24II/R8p1BH5d5OsgW3HENljjzQOrHZRULIH1AXfnCV
 LoXPQKGKQ8tlvAqtuVQUexTPZYjHpDD5AytSI5S9/EsyHaM56kiODsHDhA1nWGoF
 UvgZ5d4Qu9M= =OSZi