9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Rudolf Sykora <rudolf.sykora@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] p9p ssh-agent and unix keys
Date: Wed,  9 Sep 2015 17:55:19 +0200	[thread overview]
Message-ID: <CAOEdRO3UOCT3jHkDwswPG_tK7SsquU=BR36ike4=XDWZQTNwtw@mail.gmail.com> (raw)

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



             reply	other threads:[~2015-09-09 15:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-09 15:55 Rudolf Sykora [this message]
2015-09-18 11:30 ` Rudolf Sykora

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='CAOEdRO3UOCT3jHkDwswPG_tK7SsquU=BR36ike4=XDWZQTNwtw@mail.gmail.com' \
    --to=rudolf.sykora@gmail.com \
    --cc=9fans@9fans.net \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).