9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] ssh v2, using a remote linux server
@ 2009-05-03 14:26 Rudolf Sykora
  2009-05-03 14:56 ` Russ Cox
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Rudolf Sykora @ 2009-05-03 14:26 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] ssh v2, using a remote linux server
  2009-05-03 14:26 [9fans] ssh v2, using a remote linux server Rudolf Sykora
@ 2009-05-03 14:56 ` Russ Cox
  2009-05-04 20:30   ` Steve Simon
  2009-05-03 15:09 ` john
  2009-05-03 17:28 ` lucio
  2 siblings, 1 reply; 6+ messages in thread
From: Russ Cox @ 2009-05-03 14:56 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] ssh v2, using a remote linux server
  2009-05-03 14:26 [9fans] ssh v2, using a remote linux server Rudolf Sykora
  2009-05-03 14:56 ` Russ Cox
@ 2009-05-03 15:09 ` john
  2009-05-03 17:28 ` lucio
  2 siblings, 0 replies; 6+ messages in thread
From: john @ 2009-05-03 15:09 UTC (permalink / raw)
  To: 9fans


> 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




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] ssh v2, using a remote linux server
  2009-05-03 14:26 [9fans] ssh v2, using a remote linux server Rudolf Sykora
  2009-05-03 14:56 ` Russ Cox
  2009-05-03 15:09 ` john
@ 2009-05-03 17:28 ` lucio
  2 siblings, 0 replies; 6+ messages in thread
From: lucio @ 2009-05-03 17:28 UTC (permalink / raw)
  To: 9fans

> 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




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] ssh v2, using a remote linux server
  2009-05-03 14:56 ` Russ Cox
@ 2009-05-04 20:30   ` Steve Simon
  2009-05-05  7:50     ` maht
  0 siblings, 1 reply; 6+ messages in thread
From: Steve Simon @ 2009-05-04 20:30 UTC (permalink / raw)
  To: 9fans

> 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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] ssh v2, using a remote linux server
  2009-05-04 20:30   ` Steve Simon
@ 2009-05-05  7:50     ` maht
  0 siblings, 0 replies; 6+ messages in thread
From: maht @ 2009-05-05  7:50 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-05-05  7:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-03 14:26 [9fans] ssh v2, using a remote linux server Rudolf Sykora
2009-05-03 14:56 ` Russ Cox
2009-05-04 20:30   ` Steve Simon
2009-05-05  7:50     ` maht
2009-05-03 15:09 ` john
2009-05-03 17:28 ` lucio

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).