Language Selection

English French German Italian Portuguese Spanish

Executing commands upon remote machines via secure email

Filed under
HowTos

I recently came across the grunt package which is designed to allow you to execute commands remotely, via the delivery of GPG-signed email. Since documentation is scant this introductory article was born.

Once installed there are three commands that can be used:

gruntsend
This allows you to send a list of commands to your mail server, where they will be executed. You'll be prompted to sign your mail, and this will then be sent.

gruntrecieve
This is the part of the program which reads in the encrypted command(s), verifies the signature and if they are valid executes them.

gruntrun
This command simply executes a simple command upon the remote host - without you needing to write it to a temporary file and cause it to be uploaded as you would with gruntsend.

To be clear about how the process works we'll show it running upon two machines:

Full Story.

More in Tux Machines

Will New Google Android Live TV Outfox Apple?

Google then rolled out its $35 Chromecast dongle, a streaming device, in mid-2013. Google's new Android TV operating system is expected to make it easier for software developers to move apps from mobile devices to TVs. Read more

Q4OS Is a Windows-Lookalike OS That Now Comes with LXDE and Xfce as Well

Q4OS, a Linux distribution built to offer a similar experience to Windows XP, is now featuring a couple of extra desktop environments that should provide some more options for users who want a different look. Read more

today's howtos

Leftovers: Gaming