[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Remote Execution of Scripts



Hi Gene,

You may want to try ssh and scp.

- ssh can run a script on a remote computer
- scp can copy a file to/from a remote computer

Both of them are decently secure.

You will need a sshd on the remote computer.

If you want to fully automate the process (ie no password asked) you have to put your public ssh key in ~/.ssh/authorized_keys (check the man page).

If you have to synchronize large files/directories I'd recommand using rsync -e ssh


Another solution would be to use some centralized user base. Solutions could be based on LDAP, NFS mounts, MySQL server and many others. All depends on the software you're using to authenticate your users.

Good luck

mac


At 19:01 24/07/01 -0400, Gene Grimm wrote:
As I am a relative novice system administrator, perhaps someone more
experienced can guide me to the proper way of securely invoking a script on
a remote server. We have two facilities presently, with most of our
equipment in our main office. I am attempting to automate account
maintenance and would like to find information on the proper way to have one
Perl script begin remote execution of scripts on another Linux server.

Is there is a package available for administering and synchronizing dial-up
and email accounts on multiple servers that can be customized? If not, what
is the proper way of having a script on one host invoke a script on a remote
host? Should this be done through NFS connections or by some other means?
Any assistance provided would be greatly appreciated.


--
To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: