HP3000-L Archives

May 2012, Week 4

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:
Reply To:
Date:
Wed, 23 May 2012 15:06:26 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (27 lines)
Unfortunately, the available ssh client for MPE/iX is none too current, and is essentially 'broken' wrt: remote command execution.  IRRC it has something to do w/'SELECT' being busted on MPE/iX.  

It works well enough to support scp and sftp though, but that's pretty much it.  

What I've had to do in environments where I want passwordless secure remote script invocation (ala ssh), is to have a scheduled task (via cron or whatever) that looks for and executes specifically named scripts, and that removes the script when done executing.

To avoid having the remote cron beginning to execute a partially sftp-put file, I'd send it with a '.tmp' suffix, and then rename it upon successful completion of the put and/or chmod the file to make it executable when I'm ready to have it run.  (rename and chmod being  atomic operations)  This is necessary because, unlike MPE/iX, many systems FTPd (and likewise - sftpd) will start writing the received content to disk as soon as it receives it - making a partially received file 'visible'.   

Yes - we've been spoiled in MPE/iX land...  

FWIW - on my 'bucket list' is either an update to the OpenSSH port (with attempt to fix remote command execution), or port of other simpler ssh implementations.  I'll be sure to post to the list when either or both are done.

If the OpenSSH implementation is what you want to try, you can get the necessary files either from the fine folks at Allegro (from their website), or from www.MPE-OpenSource.org.

I'd be happy to work with anyone that needs help getting this OpenSSH port installed and operating - including how to get around some of it's limitations.

Good Luck!

-Brian Edminster
Applied Technologies, Inc 
"Robust Solutions and Integration, for Today and Tomorrow"

I'm also the webmaster at www.MPE-OpenSource.org.  :-)

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

ATOM RSS1 RSS2