shell() vs terminal re. ssh

Richard Gaskin ambassador at fourthworld.com
Wed Dec 23 16:22:26 EST 2015


Monte Goulding wrote:

 > I'm no bash expert but I just wanted to check the user your cgi is
 > bing run under is the same as the user you are logging into to run
 > the script from terminal.

Thanks, Monte and Mike.

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.

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