I've got a small ubuntu server running the LAMP stack that uses an encrypted disk. I would like to know if it's possible to reboot it remotely. Currently I have to be physically present at the machine to enter in the passphrase to mount the volume.

I imagine there might be a way to set up some kind of autorunning script that runs during boot that can enter in the password for me, and then deletes this script.

Is this possible?

  • The lamp server only starts after login?
    – user200348
    Jul 17, 2015 at 1:14

1 Answer 1


Perhaps this will help? Looks to be using ssh for the operation.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .