9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Alex Musolino <alex@musolino.id.au>
To: 9fans@9fans.net
Subject: Re: [9fans] getting 9front ssh to use RSA key?
Date: Tue, 26 Jan 2021 13:19:07 +1030	[thread overview]
Message-ID: <605C30556538057D2EFBFA059718F11C@musolino.id.au> (raw)
In-Reply-To: <20210125.193425.1816358441470322534.dworkin@weaselfish.com>

> You are exactly correct.  Looks like rsa(8) has a bug in its example
> for generating and installing a fresh key for a remote Unix system, in
> that it says to use:
> 
>     auth/rsagen -t 'service=ssh' >key
>     auth/rsa2ssh key | ssh unix 'cat >>.ssh/authorized_keys'
>     cat key >/mnt/factotum/ctl
>     ssh unix

I'm confused.  You're already using ssh to send the new key across.
How do you know this new key is actually working?  It's probably just
using the same authentication mechanism (password?) that allowed the
first invocation to succeed.  As I said in a follow up email, I was
wrong about the role=client tuple.  Factotum ignores this when looking
up entries.


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td072863a97c9d3e9-Mce4d4e49b801bbe9b645e7a1
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

  reply	other threads:[~2021-01-26  2:50 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-25  6:23 Dworkin Muller
2021-01-25  6:33 ` ori
2021-01-25  7:56   ` Dworkin Muller
2021-01-25 15:52     ` ori
2021-01-26  1:37       ` Dworkin Muller
2021-01-26  1:54         ` Alex Musolino
2021-01-26  2:34           ` Dworkin Muller
2021-01-26  2:49             ` Alex Musolino [this message]
2021-01-26  3:01               ` Dworkin Muller
2021-01-26  3:08             ` ori
2021-01-26  3:44               ` Dworkin Muller
2021-01-26  2:35           ` Alex Musolino
2021-01-25 12:14   ` Richard Miller
2021-01-25 23:44     ` Dworkin Muller
2021-01-26  0:02       ` ori

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=605C30556538057D2EFBFA059718F11C@musolino.id.au \
    --to=alex@musolino.id.au \
    --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).