* Re: [9fans] sam and ssh
@ 2002-03-27 18:29 ` Geoff Collyer
2002-03-27 19:10 ` Scott Schwartz
2002-03-27 19:47 ` Lucio De Re
0 siblings, 2 replies; 14+ messages in thread
From: Geoff Collyer @ 2002-03-27 18:29 UTC (permalink / raw)
To: 9fans
I think you have to compile; find "rsh" in the [Mm]*k*files and change
it to "ssh". sam will then run another sam on the remote system via
ssh when you type "sam -r remote-system". You have to arrange things
so that the remote side has your public ssh key and you don't have a
passphrase protecting your ssh keys.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] sam and ssh
2002-03-27 18:29 ` [9fans] sam and ssh Geoff Collyer
@ 2002-03-27 19:10 ` Scott Schwartz
2002-03-27 19:47 ` Lucio De Re
1 sibling, 0 replies; 14+ messages in thread
From: Scott Schwartz @ 2002-03-27 19:10 UTC (permalink / raw)
To: 9fans
| You have to arrange things
| so that the remote side has your public ssh key and you don't have a
| passphrase protecting your ssh keys.
Russ had an authentication agent worked up for that case, right?
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] sam and ssh
2002-03-27 18:29 ` [9fans] sam and ssh Geoff Collyer
2002-03-27 19:10 ` Scott Schwartz
@ 2002-03-27 19:47 ` Lucio De Re
1 sibling, 0 replies; 14+ messages in thread
From: Lucio De Re @ 2002-03-27 19:47 UTC (permalink / raw)
To: 9fans
On Wed, Mar 27, 2002 at 10:29:46AM -0800, Geoff Collyer wrote:
>
> I think you have to compile; find "rsh" in the [Mm]*k*files and change
> it to "ssh". sam will then run another sam on the remote system via
> ssh when you type "sam -r remote-system". You have to arrange things
> so that the remote side has your public ssh key and you don't have a
> passphrase protecting your ssh keys.
If I'm going to recompile sam, I may as well make that a command line
option, although I think Scott's suggestion of mounting ssh in rx's
place is excellent.
"s" is already taken as a sam command line option, it is tempting to
use a capital "R" instead of the lower case, but I think that may be
counter-intuitive in some fashion.
As for identity, I'm prepared to use ~/.shost (multiple heresy!) at
least initially, and Russ's "agent" may be what I need, although I
have trouble understanding that.
Further opinions/suggestions?
++L
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] sam and ssh
@ 2002-03-27 20:12 Geoff Collyer
2002-03-27 20:18 ` Lucio De Re
0 siblings, 1 reply; 14+ messages in thread
From: Geoff Collyer @ 2002-03-27 20:12 UTC (permalink / raw)
To: 9fans
Sorry, I thought Lucio was talking about Unix sam.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] sam and ssh
2002-03-27 20:12 Geoff Collyer
@ 2002-03-27 20:18 ` Lucio De Re
2002-03-27 20:31 ` Scott Schwartz
0 siblings, 1 reply; 14+ messages in thread
From: Lucio De Re @ 2002-03-27 20:18 UTC (permalink / raw)
To: 9fans
On Wed, Mar 27, 2002 at 12:12:31PM -0800, Geoff Collyer wrote:
>
> Sorry, I thought Lucio was talking about Unix sam.
I didn't specify. I prefer the 3ed version, I have to confess, but
I just wanted to edit a remote file over a slow Internet link that
only allows me convenient access over SSH. I have Unix, Plan 9 and
Windows versions of SAM, I don't mind which one I use.
I presume the above means that you second Scott's approach?
++L
^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <lucio@proxima.alt.za>]
* [9fans] sam and ssh
@ 2002-03-27 18:14 ` Lucio De Re
2002-03-27 19:08 ` Scott Schwartz
2002-03-28 1:28 ` Micah Stetson
0 siblings, 2 replies; 14+ messages in thread
From: Lucio De Re @ 2002-03-27 18:14 UTC (permalink / raw)
To: 9fans mailing list
Something in an early 3ed discussion gave me the impression that sam
can be run to a remote host over an ssh session. I haven't quite
managed to get my mind around this, but I assume it means that sam can
originate an ssh session and request the remote ssh daemon to tunnel
the traffic. Another possibility would be to use ssh tunneling, but
that's a pain at best.
Anyone would like to explain how it ought to be done, if I understood
the idea properly? I seem to remember that the feature is available
in the Win version of sam too. I can't find any details in the sam
man pages, but I'm notorious for not seeing the obvious :-(
++L
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] sam and ssh
2002-03-27 18:14 ` Lucio De Re
@ 2002-03-27 19:08 ` Scott Schwartz
2002-03-28 1:28 ` Micah Stetson
1 sibling, 0 replies; 14+ messages in thread
From: Scott Schwartz @ 2002-03-27 19:08 UTC (permalink / raw)
To: 9fans mailing list
| Something in an early 3ed discussion gave me the impression that sam
| can be run to a remote host over an ssh session.
Sam always runs as two processes, and "sam -r" uses rx to launch the
backend on a remote system. To use ssh instead, bind /bin/ssh on top
of /bin/rx.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] sam and ssh
2002-03-27 18:14 ` Lucio De Re
2002-03-27 19:08 ` Scott Schwartz
@ 2002-03-28 1:28 ` Micah Stetson
2002-03-27 20:15 ` Lucio De Re
1 sibling, 1 reply; 14+ messages in thread
From: Micah Stetson @ 2002-03-28 1:28 UTC (permalink / raw)
To: 9fans
> the idea properly? I seem to remember that the feature is available
> in the Win version of sam too. I can't find any details in the sam
> man pages, but I'm notorious for not seeing the obvious :-(
Only in the new Windows version from the Plan 9 updates
page. Running sam -r some_host from a Windows 98 box works
great, but it fails on Win95 and I haven't been able to
get sam to work at all on XP. I haven't tried WinME.
On Windows sam uses srx which will pop up a window for
you to enter a username/password for the ssh connection.
I don't understand the behaviour on Win95: if I run srx
from a DOS window, it works fine and I can run any command
on the remote host. If I run it from within a 9term window
I get 'fatal error: could not dial: some_host: socket:
error 10106'. I get the sam message from sam -r if I run
it from within 9term. If I run sam -r in a DOS window,
it fails, but prints no message.
Micah
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] sam and ssh
2002-03-28 1:28 ` Micah Stetson
@ 2002-03-27 20:15 ` Lucio De Re
2002-03-27 20:22 ` Lucio De Re
0 siblings, 1 reply; 14+ messages in thread
From: Lucio De Re @ 2002-03-27 20:15 UTC (permalink / raw)
To: 9fans
On Wed, Mar 27, 2002 at 05:28:56PM -0800, Micah Stetson wrote:
>
> Only in the new Windows version from the Plan 9 updates
> page. Running sam -r some_host from a Windows 98 box works
> great, but it fails on Win95 and I haven't been able to
> get sam to work at all on XP. I haven't tried WinME.
>
Tempting, but I won't install WinME just to check :-( I'll keep it in
mind if I get near a WinME installation, additional motivation, as it
were...
> On Windows sam uses srx which will pop up a window for
> you to enter a username/password for the ssh connection.
Not on WinNT: I get a "panic: can't connect yet".
> I don't understand the behaviour on Win95: if I run srx
> from a DOS window, it works fine and I can run any command
> on the remote host. If I run it from within a 9term window
Where do you get 9term?!
> I get 'fatal error: could not dial: some_host: socket:
> error 10106'. I get the sam message from sam -r if I run
Hm, I suppose one can consult the MS KB for that error number. The IP
stack under Win isn't wonderful and the error messages are an absolute
treat :-(
> it from within 9term. If I run sam -r in a DOS window,
> it fails, but prints no message.
>
Not even a very fast "not for console mode"? Then again, I can't find
rsx either, I must be looking in totally the wrong place.
++L
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] sam and ssh
2002-03-27 20:15 ` Lucio De Re
@ 2002-03-27 20:22 ` Lucio De Re
2002-03-27 20:36 ` Lucio De Re
0 siblings, 1 reply; 14+ messages in thread
From: Lucio De Re @ 2002-03-27 20:22 UTC (permalink / raw)
To: 9fans
On Wed, Mar 27, 2002 at 10:15:19PM +0200, Lucio De Re wrote:
>
> Where do you get 9term?!
>
I found it, why did I only find it now?
> Not even a very fast "not for console mode"? Then again, I can't find
> rsx either, I must be looking in totally the wrong place.
>
Yep, I was. Nice new, unused tools :-) Yum!
For the record, under NT, SAM doesn't seem to care to connect
remotely, much.
++L
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] sam and ssh
2002-03-27 20:22 ` Lucio De Re
@ 2002-03-27 20:36 ` Lucio De Re
2002-03-27 20:41 ` Lucio De Re
2002-04-08 12:47 ` peter huang
0 siblings, 2 replies; 14+ messages in thread
From: Lucio De Re @ 2002-03-27 20:36 UTC (permalink / raw)
To: 9fans
On Wed, Mar 27, 2002 at 10:22:53PM +0200, Lucio De Re wrote:
>
> For the record, under NT, SAM doesn't seem to care to connect
> remotely, much.
>
Seems like I need a Win refresher course :-(
Sam under NT exhibits the same behaviour as suggested for 98, it
doesn't prompt for authentication if spawned from a 9term.
Nice tools, definitely. I'm glad I asked the question, now.
++L
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] sam and ssh
2002-03-27 20:36 ` Lucio De Re
@ 2002-03-27 20:41 ` Lucio De Re
2002-04-08 12:47 ` peter huang
1 sibling, 0 replies; 14+ messages in thread
From: Lucio De Re @ 2002-03-27 20:41 UTC (permalink / raw)
To: 9fans
On Wed, Mar 27, 2002 at 10:36:42PM +0200, Lucio De Re wrote:
>
> Sam under NT exhibits the same behaviour as suggested for 98, it
> doesn't prompt for authentication if spawned from a 9term.
>
I'm an unreliable witl^Hness :-(
I'm going to shut up now. Under NT, sam works both off a DOS
command line and 9term. Seems to take a while to get going, that's
all, and the prompt window needs to rise to the surface, not stay
buried under all the other garbage.
++L
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] sam and ssh
2002-03-27 20:36 ` Lucio De Re
2002-03-27 20:41 ` Lucio De Re
@ 2002-04-08 12:47 ` peter huang
1 sibling, 0 replies; 14+ messages in thread
From: peter huang @ 2002-04-08 12:47 UTC (permalink / raw)
To: 9fans
I was able to copy plink.exe (from putty) over srx.exe. I was able to edit
files from unix environment (this is under win2k). the srx.exe works but I
want have better control of my ssh environment (such ssh2 and public key
support with openssh).
-peter
"Lucio De Re" <lucio@proxima.alt.za> wrote in message
news:20020327223641.M25951@cackle.proxima.alt.za...
> On Wed, Mar 27, 2002 at 10:22:53PM +0200, Lucio De Re wrote:
> >
> > For the record, under NT, SAM doesn't seem to care to connect
> > remotely, much.
> >
> Seems like I need a Win refresher course :-(
>
> Sam under NT exhibits the same behaviour as suggested for 98, it
> doesn't prompt for authentication if spawned from a 9term.
>
> Nice tools, definitely. I'm glad I asked the question, now.
>
> ++L
Followup-To:
Distribution:
Organization: University of Bath Computing Services, UK
Keywords:
Cc:
--
Dennis Davis, BUCS, University of Bath, Bath, BA2 7AY, UK
D.H.Davis@bath.ac.uk
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2002-04-08 12:47 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <geoff@collyer.net>
2002-03-27 18:29 ` [9fans] sam and ssh Geoff Collyer
2002-03-27 19:10 ` Scott Schwartz
2002-03-27 19:47 ` Lucio De Re
2002-03-27 20:12 Geoff Collyer
2002-03-27 20:18 ` Lucio De Re
2002-03-27 20:31 ` Scott Schwartz
[not found] <lucio@proxima.alt.za>
2002-03-27 18:14 ` Lucio De Re
2002-03-27 19:08 ` Scott Schwartz
2002-03-28 1:28 ` Micah Stetson
2002-03-27 20:15 ` Lucio De Re
2002-03-27 20:22 ` Lucio De Re
2002-03-27 20:36 ` Lucio De Re
2002-03-27 20:41 ` Lucio De Re
2002-04-08 12:47 ` peter huang
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).