ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Vitaly Ostanin <vyt@vzljot.ru>
To: ALT Linux Community <community@altlinux.org>
Subject: [Comm] Re: Anonymous read-only access over ssh
Date: Fri, 18 Nov 2005 13:23:56 +0300
Message-ID: <437DABBC.8070109@vzljot.ru> (raw)
In-Reply-To: <20051117235944.GA29218@basalt.office.altlinux.org>

[-- Attachment #1: Type: text/plain, Size: 1156 bytes --]

Dmitry V. Levin пишет:
> Hi,
> 
> On Wed, Nov 16, 2005 at 04:51:17PM +0300, Vitaly Ostanin wrote:
> 
>>Посоветуйте, pls, где почитать о настройке анонимного read-only
>>доступа по ssh ? Чтоб не просто
>>PermitEmptyPasswords yes
>>но и обезопаситься.
>>
>>Про rw доступ есть отличная документация:
>>http://svnbook.red-bean.com/en/1.1/ch06s03.html#svn-ch-6-sect-3.5
> 
> 
> anonsvn, наверное, сложнее настроить чем anoncvs, но, возможно, опыт
> настройки anoncvs.altlinux.org может пригодиться - там как раз anonymous
> readonly.

А чем может быть сложнее? У svnserve есть параметр '--tunnel',
аналогичный 'cvs server', нужно что-то ещё?

> Идея простая - запускается ещё один sshd со специальными настройками.

По прочтению документации получились такие:
AllowUsers anonsvn
PermitEmptyPasswords yes
UseDNS no
Protocol 2
X11Forwarding no
ListenAddress addr:port

У anonsvn в качестве shell:
svnserve --tunnel -r /var/lib/subversion/project

Read-only $HOME, и read-only /var/lib/subversion/project

Может, есть какие-нибудь малоочевидные настройки?

-- 
Regards, Vyt
mailto:  vyt@vzljot.ru
JID:     vyt@vzljot.ru


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

      reply	other threads:[~2005-11-18 10:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-16 13:51 [Comm] " Vitaly Ostanin
2005-11-17 10:43 ` [Comm] " Вадим Илларионов
2005-11-17 12:02   ` Vitaly Ostanin
2005-11-17 23:59 ` [Comm] " Dmitry V. Levin
2005-11-18 10:23   ` Vitaly Ostanin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=437DABBC.8070109@vzljot.ru \
    --to=vyt@vzljot.ru \
    --cc=community@altlinux.org \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git