shell() vs terminal re. ssh

Richard Gaskin ambassador at fourthworld.com
Wed Dec 23 17:38:40 EST 2015


Bob Sneidar wrote:

 > On Dec 23, 2015, at 13:22 , Richard Gaskin wrote:
 >
 >> Yes, that was the problem - CGIs run as a different user.  But
 >> I have root on that server so I logged in as the CGI process,
 >> generated a key pair, copied the pub key to the other server,
 >> and now my CGI can handle the transfer well.
 >
 > Ick! It's secure, but so is throwing all my servers and backups
 > into a vat of extremely caustic acid. <sigh>

I would have preferred a wrapper in either my shell() call or in the 
shell script it runs, but none of the examples I found on the web worked.

What would you suggest?

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com





More information about the use-livecode mailing list