From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: To: community@lists.altlinux.org References: <20160516063525.GA3906@borodin.zk.lan> From: Andrey Cherepanov Message-ID: <5d185d45-1056-59a5-8a04-e976a825cce5@altlinux.org> Date: Mon, 16 May 2016 12:12:47 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <20160516063525.GA3906@borodin.zk.lan> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Subject: Re: [Comm] ssh keys in p8 X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 09:12:48 -0000 Archived-At: List-Archive: List-Post: 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