Re: [9fans] ssh v2, using a remote linux server

2009-05-05 Thread maht
the "problem" with fgb's ssh2 (last time I used it) was that it didn't 
do many optional things like -L -R -p


I had to fiddle with the source to get it to use port 222 (yay FOSS)

So there's still room for some work if anyone's up for it



Re: [9fans] ssh v2, using a remote linux server

2009-05-04 Thread Steve Simon
> Alternately, if you have fuse installed you could
> use sshfs instead (Linux tool, not p9p tool).

Another option might be sftpfs for plan9, which allows
local plan9 machine to see a remote filesystem over
an SSH link using the SFTP protocol.

http://www.tip9ug.jp/who/fhs/sftpfs.tgz

Though this relies on the existance of ssh (either the
plan9 version or fgb's openssh port if you need protocol
version 2).

-Steve



Re: [9fans] ssh v2, using a remote linux server

2009-05-03 Thread lucio
> I
> have no possibility of changing anything serious on that computer
> (like that it could serve ssh v1), I am just an ordinary user.

You can spawn a private copy of sshd, if I'm not mistaken, with
whatever options you see fit.  But you need to log in first and you
need to use an unused port number above 1024.

++L




Re: [9fans] ssh v2, using a remote linux server

2009-05-03 Thread john

> I found some v2 client under contrib/john, which I compiled
> successfuly in plan9 (but failed in 9vx...). I can connect with this
> to my linux box, however, I somehow cannot connect to other (for me
> more important) computers. Either I see really nothing to happen, or I
> see 'connect 0' and that's all. Further, this ssh2 doesn't feature the
> '-r' option, which I use to not see 'cr's when connected.
> 

Try the ssh client in the contrib system; I think it's fgb/openssh.
The one in my directory is barely ported and I don't support it.


John




Re: [9fans] ssh v2, using a remote linux server

2009-05-03 Thread Russ Cox
> 2)
> More generally:
> I use a powerful linux machine for doing some havier calculations. I
> have no possibility of changing anything serious on that computer
> (like that it could serve ssh v1), I am just an ordinary user. So far
> I usually do the programming on my 'local' linux computer using p9p
> versions of acme & rc (sometimes the linux's gvim), run some small
> manageable tests on this local computer, then make a copy to the
> remote machine, recompile it there (fortran) using a textual ssh
> connection, and finally run it there. This brings along a /number of
> complications... It'd be nicer if I could use the remote linux machine
> in a way a plan9 cpu server is used. Is this possible?

When you're developing on the big machine,
you could mount the big machine's file system
locally, and then you can continue to use acme
to edit.  If you want to use 9p, you could add
the -e flag to srv and then use u9fs over ssh + 9pfuse.
Alternately, if you have fuse installed you could
use sshfs instead (Linux tool, not p9p tool).

This way you mount the remote machine on /n/big
and set things up so that the remote machine
sends back path names like /n/big/home/you,
so things like plumbing continue to work just fine.
(Instead of awd in your cd alias (see label(1)), you'd
use label /n/big`pwd`/-big.)

Russ



[9fans] ssh v2, using a remote linux server

2009-05-03 Thread Rudolf Sykora
Hello everyone,
2 questions...

1)
The linux servers around me reject ssh v1 protocol by default, only
seem to accept v2. The version commonly available in plan9 seems to be
v1. As long as I connect to my own machine, where I allowed v1
connection, no problem. But is there any working v2 client?

I found some v2 client under contrib/john, which I compiled
successfuly in plan9 (but failed in 9vx...). I can connect with this
to my linux box, however, I somehow cannot connect to other (for me
more important) computers. Either I see really nothing to happen, or I
see 'connect 0' and that's all. Further, this ssh2 doesn't feature the
'-r' option, which I use to not see 'cr's when connected.

2)
More generally:
I use a powerful linux machine for doing some havier calculations. I
have no possibility of changing anything serious on that computer
(like that it could serve ssh v1), I am just an ordinary user. So far
I usually do the programming on my 'local' linux computer using p9p
versions of acme & rc (sometimes the linux's gvim), run some small
manageable tests on this local computer, then make a copy to the
remote machine, recompile it there (fortran) using a textual ssh
connection, and finally run it there. This brings along a /number of
complications... It'd be nicer if I could use the remote linux machine
in a way a plan9 cpu server is used. Is this possible?

Thanks,
Ruda