9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Aram Hăvărneanu" <aram.h@mgk.ro>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Mistake in Plan9 Mercual port?
Date: Sat, 31 May 2014 20:26:00 +0200	[thread overview]
Message-ID: <CAEAzY39Jt8t-CHQy6Z+2jmH5HWJhBpoDc9FX7LBJpyjbBOrLrA@mail.gmail.com> (raw)
In-Reply-To: <F7E20749-A75A-45AE-9DDE-E48F9DEB3BFA@corpus-callosum.com>

On Sat, May 31, 2014 at 8:12 PM, Jeff Sickel <jas@corpus-callosum.com> wrote:
> Did you add the key to factotum _before_ using ssh2 to connect?
> I’ve always tried to get factotum to do what it’s suppose to do,
> store the key _after_ using ssh2 to connect to a remote host.

Of course you need to add the key before using ssh2, you can't type a
rsa key by hand not generate it in your head, you need to use
auth/rsagen to generate it.

This is no different then in Unix where you have to generate the
public/private key pair *before* use ssh with key authentication.

The procedure is pretty simple and is described in the "key
management" section of ssh2(1). Use auth/rsagen to generate the key
and add it to factotum, copy the public key from factotum and use
rsa2ssh2 to convert it to the format Unix ssh understands, copy public
key to .ssh/authorized_keys on the Unix host.

I use secstore to hold my key.

-- 
Aram Hăvărneanu



  reply	other threads:[~2014-05-31 18:26 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-31 12:41 Pavel Klinkovský
2014-05-31 12:52 ` Steven Stallion
2014-05-31 13:43   ` Pavel Klinkovský
2014-05-31 15:45     ` Jeff Sickel
2014-05-31 16:03       ` Aram Hăvărneanu
2014-05-31 16:17         ` Jeff Sickel
2014-05-31 16:20           ` Aram Hăvărneanu
2014-05-31 16:56             ` Jeff Sickel
2014-05-31 17:07               ` Aram Hăvărneanu
2014-05-31 18:10                 ` erik quanstrom
2014-05-31 22:03                   ` Steve Simon
2014-05-31 18:12                 ` Jeff Sickel
2014-05-31 18:26                   ` Aram Hăvărneanu [this message]
2014-05-31 18:37                     ` Jeff Sickel
2014-05-31 18:45                       ` Aram Hăvărneanu
2014-05-31 19:18                         ` Brian L. Stuart
2014-05-31 19:36                           ` Pavel Klinkovský
2014-06-01  5:48                             ` erik quanstrom
2014-06-01  7:45                               ` Pavel Klinkovský
2014-06-01 14:12                                 ` erik quanstrom
2014-06-01 14:46                                   ` Pavel Klinkovský
2014-06-01 14:54                                     ` erik quanstrom
2014-06-01 15:34                                     ` Jeff Sickel
2014-06-01 17:28                                       ` Pavel Klinkovský
2014-06-01  5:52         ` erik quanstrom
2014-05-31 16:55     ` erik quanstrom

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=CAEAzY39Jt8t-CHQy6Z+2jmH5HWJhBpoDc9FX7LBJpyjbBOrLrA@mail.gmail.com \
    --to=aram.h@mgk.ro \
    --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).