From: Andrey Cherepanov <cas@altlinux.org>
To: community@lists.altlinux.org
Subject: Re: [Comm] ssh keys in p8
Date: Mon, 16 May 2016 12:12:47 +0300
Message-ID: <5d185d45-1056-59a5-8a04-e976a825cce5@altlinux.org> (raw)
In-Reply-To: <20160516063525.GA3906@borodin.zk.lan>
16.05.2016 09:35, Andrew Borodin пишет:
> Здравствуйте.
>
> После перехода на p8 сломалась авторизация в ssh по ключам.
> Например, при обращении к github.com
>
> $ git pull
> ssh: sign_and_send_pubkey: signing failed: agent refused operation
> ssh: Permission denied (publickey).
> fatal: Could not read from remote repository.
>
> Please make sure you have the correct access rights
> and the repository exists.
>
> Найденный в Интернете хак в виде
> $ SSH_AUTH_SOCK=0 git pull
>
> помогает:
>
> Enter passphrase for key '/home/borodin/.ssh/github.com.key':
>
> и всё pull'ится..
>
> Но в этом случае не запускается gtk2-ssh-askpass и парольную
> фразу приходится вводить каждый раз.
>
> В выводе ssh-add -l ключа github.com.key нет.
>
> Среда Mate.
Я для dss-ных своих ключей в начало ~/.ssh/config добавил:
UseRoaming no
PubkeyAcceptedKeyTypes +ssh-dss,ssh-dss-cert-v01@openssh.com
--
Andrey Cherepanov
cas@altlinux.org
next prev parent reply other threads:[~2016-05-16 9:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-16 6:35 Andrew Borodin
2016-05-16 9:12 ` Andrey Cherepanov [this message]
2016-05-16 10:52 ` Andrew Borodin
2016-05-17 6:01 ` Sergey
2016-05-16 9:52 ` Michael Shigorin
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=5d185d45-1056-59a5-8a04-e976a825cce5@altlinux.org \
--to=cas@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