HP3000-L Archives

February 2005, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Nichols, Gibson (G.M.)" <[log in to unmask]>
Reply To:
Nichols, Gibson (G.M.)
Date:
Mon, 14 Feb 2005 15:24:43 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (106 lines)
Okay, thank you once again.  I see this requires perl.  But perl is a
no-no here.  Looks like I'll look at this later. 

-----Original Message-----
From: Charles Finley [mailto:[log in to unmask]] 
Sent: Monday, February 14, 2005 3:08 PM
To: Nichols, Gibson (G.M.); [log in to unmask]
Subject: RE: FTP - can I execute script on remote Linux?


Ken Hirsch seems to be the resident expert.  Beechglen has taken it a
bit further http://www.beechglen.com/mpe/SFTPInstallNotes.html so I
would start there.

Charles Finley
(760) 439-3146

-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]]On
Behalf Of Gibson Nichols
Sent: Monday, February 14, 2005 12:03 PM
To: [log in to unmask]
Subject: Re: FTP - can I execute script on remote Linux?


Okay, I'd like to learn a bit more about SSH on MPE.  Is there an URL I
can look up?  Is it provided in MPE 7.5? Where would the program be?

Charles Finley wrote:
> We've used curl for this in the past.  I missed part of this thread,
however, if the question is getting an MPE system to run a program on a
linux machine,  curl with telnet can be used to do this.
http://invent3k.external.hp.com/~MGR.HIRSCH/. BTW, it can be used with
ssh in the same fashion.  We've also used a technique described by Lars
Appel http://www.editcorp.com/Personal/Lars_Appel/JavaDemo/telnet/ that
involves JAVA and telnet.  His example shows going from some other OS to
MPE, however, it obviously works the same way.  This too can be used
with ssh in a similar fashion.
>
> We also created something similar to what Greg describes to go from a
Windows machine to an HP 3000 using remsh.  Remoting a shell is
considered by some people to have a lot of security issues so many
organizations will not allow it.  However, curl or java for that matter
can be made to use ssh instead of Telnet.  ssh use is usually acceptable
for secure use.
>
>
>
> -----Original Message-----
> From: Greg Stigers <[log in to unmask]>
> Sent: Feb 11, 2005 7:42 PM
> To: [log in to unmask]
> Subject: Re: FTP - can I execute script on remote Linux?
>
> How about
> run ftp.arpa.sys;info="foreignhost"
> exitonerror
> put thisfile
> rename thisfile yourfile
> :run remsh.net.sys;info="foreignhost -l ftpuser -n thisfilescript" put

> thatfile ...
> exit
>
> I would expect remsh to not return control until it had "done its
thing", at
> least initiating the script. If not, I suppose you could always
through in a
> :PAUSE, which someday will not pause long enough...
>
> Of course, your Linux box may be running a more permissive ftpd. Have
you
> tried remotehelp site, to see what it will support? And, there's
always
> having your Linux box detect the file in its own script.
>
> Greg Stigers
>
> ----- Original Message -----
> From: "Nichols, Gibson (G.M.)" <[log in to unmask]>
> To: "Greg Stigers" <[log in to unmask]>;
<[log in to unmask]>
> Sent: Friday, February 11, 2005 8:52 PM
> Subject: RE: FTP - can I execute script on remote Linux?
>
>
> > Okay, thanks for the ideas.  - I'll have to think about this.  I'm
really
> > looking for a way within FTP since I'm transfering files.  But I
suppose I
> > could drop out of FTP then go to another method after I've
transfered the
> > files.  I know very little about these other methods.
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2