From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Date: Wed, 9 Sep 2015 17:55:19 +0200 Message-ID: From: Rudolf Sykora To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: [9fans] p9p ssh-agent and unix keys Topicbox-Message-UUID: 69e8380c-ead9-11e9-9d60-3106f5b1d025 Hello everyone, I have an ssh key, id_rsa, generated with the unix tools. I want to have it put into factotum and use it via p9p ssh-agent. I now the id_rsa key is ok, I can use it to get to the remote system. Now, I did this (in bash): ;killall ssh-agent ;killall factotum ;eval $(9 ssh-agent -e) ;factotum -n ;pemdecode 'RSA PRIVATE KEY' id_rsa | asn12rsa >rsa2 ;cat rsa2 | 9p write -l factotum/ctl but when I now issue ;9 ssh-agent -l I get nothing (and really the ssh login doesn't work if the original id_rsa is removed). Can anybody help me? Thanks! Ruda