# Return the PID used for the Ignition service in Linux install?

**URL:** <https://forum.inductiveautomation.com/t/return-the-pid-used-for-the-ignition-service-in-linux-install/60945>\
**Category:** Ignition\
**Created:** [June 20, 2022, 8:17am UTC](https://forum.inductiveautomation.com/t/return-the-pid-used-for-the-ignition-service-in-linux-install/60945 "2022-06-20T08:17:28Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [June 20, 2022, 9:10pm UTC](https://forum.inductiveautomation.com/t/return-the-pid-used-for-the-ignition-service-in-linux-install/60945/5 "2022-06-20T21:10:30Z")

</div>

See this topic and Paul's linked topic within it:

> [@Establishing SSH Connection from Ignition and executing commands & Python](https://forum.inductiveautomation.com/t/establishing-ssh-connection-from-ignition-and-executing-commands-python/60397/2):
>
> To run python externally, you need no libraries locally. You need them wherever python will run. In Ignition, I would use java’s normal classes (starting with [ProcessBuilder](https://docs.oracle.com/javase/8/docs/api/java/lang/ProcessBuilder.html)) to spawn your platform’s ssh executable with suitable parameters (to connect to the remote system and launch your script), with a stream attached to the process’ stdout. Parse/decode that stream to get your result. Use SSH keys to avoid any prompts while connecting. I recommend arranging for the selected key to only al…

---

_[View the full topic](https://forum.inductiveautomation.com/t/return-the-pid-used-for-the-ignition-service-in-linux-install/60945)._
