9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] p9p ssh-agent and unix keys
@ 2015-09-09 15:55 Rudolf Sykora
  2015-09-18 11:30 ` Rudolf Sykora
  0 siblings, 1 reply; 2+ messages in thread
From: Rudolf Sykora @ 2015-09-09 15:55 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-18 11:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-09 15:55 [9fans] p9p ssh-agent and unix keys Rudolf Sykora
2015-09-18 11:30 ` Rudolf Sykora

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).