Quoth Dworkin Muller <[email protected]>:
> On Sun, 24 Jan 2021 22:33:59 -0800, [email protected] wrote:
> ori> Quoth Dworkin Muller <[email protected]>:
> ori> > If I have PasswordAuthentication enabled on a remote host (tested on
> ori> > MacOS and FreeBSD so far), I can log in to them without any problem.
> ori> > However, if I have passwords disabled, but have an RSA key on the Plan
> 9
> ori> > host and the corresponding pub key in authorized_keys on those remote
> ori> > hosts, I'm failing to log in with the error message:
> ori> >
> ori> > ssh: auth: no key matches proto=rsa service=ssh role=client
> ori> >
> ori> > Presumably, this means I haven't set something up somewhere.
> ori> > Currently, I do not have an auth server - I'm doing everything from a
> ori> > terminal, slowly working my way up to a full world. Is there a way to
> ori> > make this work in such an environment, without jumping through more
> ori> > hoops than getting an auth server going would take?
> ori> >
> ori> > Thanks.
> ori> >
> ori> > Dworkin
> ori>
> ori> there's an example in the rsa(8) manpage.
>
> That's what I thought I'd been doing, and doing it again just now
> gives the same results. ``cat /mnt/factotum/ctl'' gives two lines,
> one starting ``key proto=pass server=lethe service=ssh ...'' and the
> other ``key proto=rsa service=ssh ...''. I've triple checked that
> what's in .authorized_keys on the remote host (lethe) matches the
> output of auth/rsa2ssh. I've also verified that the proto=rsa line in
> factotum matches my lib/ssh/rsa file. Thus my confusion.
>
> Thanks.
>
> Dworkin
First off, sanity check: are you running ssh in the same
namespace as the factotum?
Are you using a drawterm factotum, or are you using one
started from within your session?
you redacted a lot of the factotum value -- does the value in factotum
have all of these fields?
key proto=rsa service=ssh size=2048 ek=10001 n=... !dk? !p? !q? !kp?
!kq? !c2?
finally, can you paste the output of 'ssh -d yoursystem'?
------------------------------------------
9fans: 9fans
Permalink:
https://9fans.topicbox.com/groups/9fans/Td072863a97c9d3e9-M13aa5c5d2052fc3c2bd0c8ac
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription