How to execute a process on remote Linux machine without SSH?

5,308

Regular re-installing via pxe does not preclude the use of ssh.

I don't know what distro you're using but it could be trivial to have the pxe install add public halves of ssh keys to the system's authorized_keys file. (I'm most familiar with Red Hat / Fedora and I always do this with my pxe setups.)

Share:
5,308

Related videos on Youtube

indiws
Author by

indiws

Updated on September 18, 2022

Comments

  • indiws
    indiws over 1 year

    How can I execute a process on a remote machine running Linux without SSH. Since the machine is scheduled to PXE-boot periodically, the SSH key will be changed and executing a process through a script using SSH is ruled out. Any idea on how it can be done?

  • lg.
    lg. about 12 years
    If the process must be execute every time the machine starts, the solution suggests by Sandeep is perfect.