Article View: news.software.nntp
Article #81740Re: Authentication for rsync over ssh failing
From: John F. Morse
Date: Tue, 04 Aug 2009 06:46
Date: Tue, 04 Aug 2009 06:46
56 lines
2897 bytes
2897 bytes
Ray Banana wrote: > 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. > As I mentioned at the end of that paragraph, "There are no improper ownerships nor permissions." This is the first thing that I checked. drwx------ 2 news news 136 2009-08-03 23:46 .ssh -rw------- 1 news news 395 2009-08-03 20:09 authorized_keys >> 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. > I was referring to ownership and access rights to the directories and files. If they are improper, a manual rsync/scp would likely fail, but it doesn't. > http://sial.org/howto/openssh/publickey-auth/problems/ > > And, of course, this problem is not related to news.software.*nntp* > It certainly is, if you consider I cannot move the INN status files. ;-) -- John
Technical Details
Message-ID:
<h58lfi$oq5$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!feeder.news-service.com!news.glorb.com!news2.glorb.com!optima2.xanadu-bbs.net!optima5.xanadu-bbs.net!not-for-mailReferences:
<h58ftm$ndc$1@optima5.xanadu-bbs.net> <80ocqwqgiy.fsf@banana.shacknet.nu>Show Full Headers
Complete Article Headers
Message-ID: <h58lfi$oq5$1@optima5.xanadu-bbs.net> Subject: Re: Authentication for rsync over ssh failing Date: Tue, 04 Aug 2009 01:46:09 -0500 From: "John F. Morse" <john@example.invalid> References: <h58ftm$ndc$1@optima5.xanadu-bbs.net> <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!feeder.news-service.com!news.glorb.com!news2.glorb.com!optima2.xanadu-bbs.net!optima5.xanadu-bbs.net!not-for-mail Newsgroups: news.software.nntp Organization: Xanadu BBS Lines: 56 Reply-To: dont.bother Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: optima5.xanadu-bbs.net 1249368370 25413 192.168.89.210 (4 Aug 2009 X-Complaints-To: newsmaster@xanadu-bbs.net NNTP-Posting-Date: Tue, 4 Aug 2009 06:46:10 +0000 (UTC) User-Agent: Thunderbird 2.0.0.22 (X11/20090608) In-Reply-To: <80ocqwqgiy.fsf@banana.shacknet.nu> X-Enigmail-Version: 0.96.0