On 2012-04-02, at 1:08 PM, Richard Miller wrote:

> I've attempted a minimal conservative addition to standard factotum
> to make it useable with ssh2, and that seems to work for me.  If anyone else
> wants to try it, just replace /sys/src/cmd/auth/factotum/rsa.c with
> /n/sources/contrib/miller/factotum/rsa.c and rebuild.

It's working on my terminal, using both password and rsa auth. I haven't tried 
genning up a CPU kernel with the new factotum yet.


I notice the new ssh doesn't seem to get along with srv -e.  I tried various 
permutations of -m, -r, -i, and -I, to no avail (trying to u9fs mount a FreeBSD 
machine).  It gets as far as starting u9fs, but the communication channel 
between srv and ssh isn't happy.  In particular, after running

  srv -e 'ssh foo u9fs -na none -u me' foo

the post message appears and the shell prompt comes up, but the underlying ssh 
still has the terminal window in raw mode. At this point you can type and run 
blind commands, but any attempts to mount /srv/foo will give you a mount that 
just generates cloning errors.  I'm guessing ssh might need a flag to force it 
to do its I/O on fds 0 and 1 rather than /dev/cons ... ?

Reply via email to