ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@mivlgu.murom.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] SFTP client
Date: Thu Mar 21 20:50:01 2002
Message-ID: <20020321205041.18f9a710.vsu@mivlgu.murom.ru> (raw)
In-Reply-To: <20020321194927.6315c5b8.cetus@newmail.ru>

On Thu, 21 Mar 2002 19:49:27 +0300
Китайкин А.К. <cetus@newmail.ru> wrote:

> On Thu, 21 Mar 2002 18:38:44 +0300
> Sergey Vlasov <vsu@mivlgu.murom.ru> wrote:
> 
> > > Не совсем sftp (но по ssh) - mc:
> > > cd /#sh:[user@]machine[:options]/[remote-dir]
> > > На удаленной машине требуется bash.
> > 
> > Да, а ssh-add сделали?  Без этого не работает (парольную фразу
> > он в этом режиме спрашивать не умеет).
> > 
> 
> Конечно же нет!
> 
> А когда сделал, то ура, ура, ура! Зашел сам к себе на машину собой!!!!
> 
> Потом думаю - дай, к кому-нить еще зайду.........
> 
> Потом захожу тем пользователем, ssh-add ему...
> Couldn't open a connection to your authentication agent.

А как заходили - с консоли или через X?  Дело в том, что в
/etc/X11/Xsession предусмотрен запуск ssh-agent, а при входе с
текстовой консоли он автоматически не запускается.

Или заходили через ssh на другую машину?  Тогда соединение с
агентом автоматически не перенаправляется, man ssh на предмет
ключа -A.

> Разумеется, man под подушкой полежал, вздремнул над ним минут так 10, 
> но что делает ssh-add так и не понял. Это не опасно? ssh и без него 
> как то работал до сих пор.

man ssh-add, man ssh-agent написаны даже на русском.

Вкратце - ssh-agent сохраняет расшифрованный закрытый ключ в
памяти и использует его для аутентификации соединений.  Помимо
удобства (парольная фраза для ключа вводится только один раз)
это нужно в тех случаях, когда ssh запускается в неинтерактивном
режиме. Например, cvs через ssh может работать и без ssh-agent
(будет запрашиваться пароль), но то же самое, например, через
pcl-cvs под emacs уже не пройдет, т.к. там cvs будет запускаться
без терминала.  В случае с /#sh из mc - та же ситуация.



  reply	other threads:[~2002-03-21 20:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-21 15:00 Andrey Brindeew
2002-03-21 15:06 ` [mdk-re] " Artem K. Jouravsky
2002-03-21 15:14 ` [mdk-re] " Sergey Vlasov
2002-03-21 18:33   ` Китайкин А.К.
2002-03-21 18:38     ` Sergey Vlasov
2002-03-21 19:49       ` Китайкин А.К.
2002-03-21 20:50         ` Sergey Vlasov [this message]
2002-03-22 14:20           ` Китайкин А.К.
2002-03-21 18:50     ` Alexey Morozov

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=20020321205041.18f9a710.vsu@mivlgu.murom.ru \
    --to=vsu@mivlgu.murom.ru \
    --cc=mandrake-russian@altlinux.ru \
    /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