Re: [9fans] getting 9front ssh to use RSA key?

2021-01-25 Thread Dworkin Muller
On Mon, 25 Jan 2021 19:08:43 -0800, o...@eigenstate.org wrote: ori> Now, I'm confused. The example just works for me -- and ori> I use ssh to get into my linux and openbsd machines on ori> a daily basis. ori> ori> I also just spun up a FreeBSD 12.1 vm on vultr to test, ori> and it just worked out

Re: [9fans] getting 9front ssh to use RSA key?

2021-01-25 Thread ori
Quoth Dworkin Muller : > On Tue, 26 Jan 2021 12:24:35 +1030, Alex Musolino wrote: > alex> You're missing the 'role=client' tuple. > > 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

Re: [9fans] getting 9front ssh to use RSA key?

2021-01-25 Thread Dworkin Muller
On Tue, 26 Jan 2021 13:19:07 +1030, Alex Musolino wrote: alex> I'm confused. You're already using ssh to send the new key across. alex> How do you know this new key is actually working? It's probably just alex> using the same authentication mechanism (password?) that allowed the alex> first invo

Re: [9fans] getting 9front ssh to use RSA key?

2021-01-25 Thread Alex Musolino
> 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/factot

Re: [9fans] getting 9front ssh to use RSA key?

2021-01-25 Thread Alex Musolino
Nevermind. It doesn't matter. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td072863a97c9d3e9-M7475d1a41736a02e67e3842c Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Re: [9fans] getting 9front ssh to use RSA key?

2021-01-25 Thread Dworkin Muller
On Tue, 26 Jan 2021 12:24:35 +1030, Alex Musolino wrote: alex> You're missing the 'role=client' tuple. 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'

Re: [9fans] getting 9front ssh to use RSA key?

2021-01-25 Thread Alex Musolino
You're missing the 'role=client' tuple. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td072863a97c9d3e9-M6e96e6354356366203ac231b Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Re: [9fans] getting 9front ssh to use RSA key?

2021-01-25 Thread Dworkin Muller
On Mon, 25 Jan 2021 07:52:42 -0800, o...@eigenstate.org wrote: ori> First off, sanity check: are you running ssh in the same ori> namespace as the factotum? ori> ori> Are you using a drawterm factotum, or are you using one ori> started from within your session? ori> ori> you redacted a lot of the

Re: [9fans] getting 9front ssh to use RSA key?

2021-01-25 Thread ori
Quoth Dworkin Muller : > On Mon, 25 Jan 2021 12:14:01 +, Richard Miller <9f...@hamnavoe.com> wrote: > 9fans> There's a different example in the ssh2(1) man page, which > 9fans> is what works for me. Note the use of rsa2ssh2 instead of > 9fans> auth/rsa2ssh. > > Hmm. This may be part of my con

Re: [9fans] getting 9front ssh to use RSA key?

2021-01-25 Thread Dworkin Muller
On Mon, 25 Jan 2021 12:14:01 +, Richard Miller <9f...@hamnavoe.com> wrote: 9fans> There's a different example in the ssh2(1) man page, which 9fans> is what works for me. Note the use of rsa2ssh2 instead of 9fans> auth/rsa2ssh. Hmm. This may be part of my confusion. There is nothing with ``ss

Re: [9fans] getting 9front ssh to use RSA key?

2021-01-25 Thread ori
Quoth Dworkin Muller : > On Sun, 24 Jan 2021 22:33:59 -0800, o...@eigenstate.org wrote: > ori> Quoth Dworkin Muller : > 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 ha

Re: [9fans] getting 9front ssh to use RSA key?

2021-01-25 Thread Richard Miller
> there's an example in the rsa(8) manpage There's a different example in the ssh2(1) man page, which is what works for me. Note the use of rsa2ssh2 instead of auth/rsa2ssh. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td072863a97c9d

Re: [9fans] getting 9front ssh to use RSA key?

2021-01-24 Thread Dworkin Muller
On Sun, 24 Jan 2021 22:33:59 -0800, o...@eigenstate.org wrote: ori> Quoth Dworkin Muller : 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 a

Re: [9fans] getting 9front ssh to use RSA key?

2021-01-24 Thread ori
Quoth Dworkin Muller : > If I have PasswordAuthentication enabled on a remote host (tested on > MacOS and FreeBSD so far), I can log in to them without any problem. > However, if I have passwords disabled, but have an RSA key on the Plan 9 > host and the corresponding pub key in authorized_keys on

[9fans] getting 9front ssh to use RSA key?

2021-01-24 Thread Dworkin Muller
If I have PasswordAuthentication enabled on a remote host (tested on MacOS and FreeBSD so far), I can log in to them without any problem. However, if I have passwords disabled, but have an RSA key on the Plan 9 host and the corresponding pub key in authorized_keys on those remote hosts, I'm failing