ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Konstantin Pavlov <thresh@altlinux.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] sshfs
Date: Tue, 20 Oct 2009 14:11:22 +0400
Message-ID: <20091020101122.GB1807@snowwhite.immo> (raw)
In-Reply-To: <4ADD84C6.4000909@gmail.com>

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

On Tue, Oct 20, 2009 at 07:37:10PM +1000, Occisor wrote:
> Michael A. Kangin пишет:
> > В сообщении от Понедельник 19 октября 2009 18:25:17 автор Occisor написал:
> > 
> >> Пробую примонтировать через fuse-sshfs. Установил пакет fuse-sshfs.
> >> После пробую монитировать sshfs user@1.1.1.1:/home/user /mnt/server
> >> запрашивается пароль (ввожу верный) и после ошибка read: Connection
> >> reset by peer
> >> При этом подключение по ssh и fish проходит нормально. Монтировать
> >> пробовал от рута. Как примонтировать?
> >>
> > 
> > Посмотрите на сервере /etc/openssh/sshd_config на предмет Subsystem sftp
> > 
> Раскоментировал данную строку.Потом от рута:
> modprobe fuse
> sshfs user@1.1.1.1:/home /mnt/server
> Примонтировалось. Но доступ к папке есть только у рута. Как расшарить 
> доступ для всех

Включить "всех" в какую-нибудь группу и дать этой группе права на доступ
до заданного каталога

> автоматизировать процесс, чтоб не вводить пароль?

нагенерить ssh-ключей для "всех"

-- 
Есть довольно широкий класс задач, для решения которых shell подходит не
хуже самого модного скриптового языка.
Есть (моё личное) наблюдение, что большинство программистов не умеет
писать надёжные программы не только на shell, но и на всех языках
программирования, которыми они пользуются.
		-- ldv in sisyphus@

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  parent reply	other threads:[~2009-10-20 10:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-19 14:25 Occisor
2009-10-19 14:30 ` Michael A. Kangin
2009-10-20  3:44   ` Il'ya
2009-10-20  4:20     ` Alexey Novikov
2009-10-20  9:37   ` Occisor
2009-10-20 10:08     ` Dmitriy Kruglikov
2009-10-20 10:11     ` Konstantin Pavlov [this message]
2009-10-20 10:33     ` Petr Nagornyy

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=20091020101122.GB1807@snowwhite.immo \
    --to=thresh@altlinux.ru \
    --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