OT: ssh between linux and sco unix

Bill Campbell bill at celestial.com
Wed Dec 9 12:36:12 PST 2009


On Wed, Dec 09, 2009, Jose Lerebours wrote:
>Trying to setup an UBUNTU Linux box to ssh to an SCO UNIX box without the
>need to enter a password.
>I found this article
>
>http://lani78.wordpress.com/2008/08/08/generate-a-ssh-key-and-disable-password-authentication-on-ubuntu-server/
>
>I followed every step but I am still forced to type in a password to connect
>to SCO UNIX.  The root of the problem is
>the need to interface a linux server running PHP + Apache to extract and
>push data from a SCO UNIX running filePro.

Don't use ssh for this, but use rsync module(s).  Using rsync
modules makes it easy to restrict access by IP address and
directory, and doesn't involve doing nasty things like have ssh
keys with empty passwords.

Another way to handle this if the machines are on the same
network is using NFS to share a transfer directory, and have cron
jobs that process files in that directory.

>I tried using PHP built-in ftp commands but I am not able to execute shell
>scripts thus I cannot run filePro *reports ...

We also use XML-RPC with python extensively for things like this
as they are quite easy to use, and can provide easy access to a
set of commands on the remote system.

Bill
-- 
INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
Fax:            (206) 232-9186  Skype: jwccsllc (206) 855-5792

Whatever the State saith is a lie; whatever it hath is a theft:
all is counterfeit in it, the gnawing, sanguinary, insatiate
monster. -- Friedrich Wilhelm Nietzsche


More information about the Filepro-list mailing list