ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Mikhail Efremov <sem@altlinux.org>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] p7: ssh-agent
Date: Fri, 17 Jun 2016 00:01:46 +0300
Message-ID: <20160617000146.70625630@sem-notebook> (raw)
In-Reply-To: <4c54b226-8d89-9c7a-d29f-aa01d20c7f14@complife.ru>

On Thu, 16 Jun 2016 21:38:35 +0200 Michael A. Kangin wrote:
> Добрый день, извините, что я про P7 всё еще.
> 
> После обновления до openssh до 6.7p1-alt1.M70P.2 что-то сломалось в 
> ssh-агенте.
> 
> у меня два ключа - dsa и ed25519.
> При попытке сказать ssh-add происходит следующий диалог:
> $ ssh-add
> Enter passphrase for /home/mak/.ssh/id_dsa:
> Identity added: /home/mak/.ssh/id_dsa (/home/mak/.ssh/id_dsa)
> Enter passphrase for /home/mak/.ssh/id_ed25519:
> ssh-add: Error reading response length from authentication socket.
> Could not add identity: /home/mak/.ssh/id_ed25519
> 
> Т.е. для DSA-ключа идентификация как бы запоминается (как бы - потому 
> что реально нет, и при ssh-логине спрашивается опять), а для ed25519 
> происходит ошибка общения с агентом.
> 
> Так же у меня в xfce при попытке входа на удалённый хост выскакивает 
> окошко какого-то графического ask_pass, и эта идентификация уже через 
> него нормально запоминается для DSA-ключа. А для ed25519 окошка
> ask_pass и не выскакивает.
> 
> При загрузке компьютера какой-то агент запускается:
> mak       3896  0.0  0.0  13688   304 ?        Ss   02:10   0:00 
> ssh-agent -u
> 
> Переменные среды:
> SSH_AGENT_PID=3896
> SSH_ASKPASS=/usr/lib/openssh/ssh-askpass
> SSH_AUTH_SOCK=/run/user/500/keyring-ZRiNWN/ssh

Это gnome-keyring, который ed25519 не умеет, видимо.
Отключите Диспетчер настроек-> Сеансы и запуск -> Запускать службы
GNOME

-- 
WBR, Mikhail Efremov


  reply	other threads:[~2016-06-16 21:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-16 19:38 Michael A. Kangin
2016-06-16 21:01 ` Mikhail Efremov [this message]
2016-06-17  8:19   ` Michael A. Kangin
2016-06-17 16:35     ` Mikhail Efremov

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=20160617000146.70625630@sem-notebook \
    --to=sem@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