I have a shell script and I need to run it in order to connect to a remote ubuntu linux machine having encrypted HDD, in order to enter the passphrase. There's a shell script for this, but I have a chromebook most of the time when away. Can this be done from a chromebook?

I have already seen chrome extensions like mosh.