Link to home
Start Free TrialLog in
Avatar of jenvin
jenvin

asked on

Run Remote Shell Command in a lotus script agent

I have a requirement where some files need to be extracted on a remote server and Shell Commands needs to be executed. Is that possible to achieve using a Lotus Script agent?
Avatar of Jon Norman
Jon Norman
Flag of United Kingdom of Great Britain and Northern Ireland image

Yes, this is possible, it needs to be an unrestricted agent though - runtime security level needs to be at least "2. Allow restricted operations" and then agent needs to be signed by someone that is allowed to run restricted operations.

Shell can then be used. It's probably best to get this working locally first then to look at makingh it work on the remote server.
Say a scheduled agent runs on server A. When the agent executes the Shell function, it executes on the same server A. If your Remote server is not the same as server A, you have to create your Commands procedure so that it connects to the remote server from server A.
Avatar of jenvin
jenvin

ASKER

Thanks for the prompt reply. Any code that you can point me to which will give me an idea about how I can achieve this?
Achieve what exactly?
ASKER CERTIFIED SOLUTION
Avatar of Jon Norman
Jon Norman
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jenvin

ASKER

Thanks