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.)
Related videos on Youtube
Author by
indiws
Updated on September 18, 2022Comments
-
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. about 12 yearsIf the process must be execute every time the machine starts, the solution suggests by Sandeep is perfect.