HandBrake For Mac Mirror Server Was Compromised And Infected With PROTON Malware

Posted on in Categories Open Source, Security last updated May 7, 2017

HandBrake is an open-source and free transcoder for digital video files. It makes ripping a film from a DVD to a data storage device such as NAS boxes easier. HandBrake works Linux, macOS, and Windows. A Recent version of Handbrake for Mac and possibly other downloads at the same site infected with malware. If you have downloaded HandBrake on Mac between 2/May/2017 and 06/May/2017, you need to delete the file ASAP. HandBrake infected with a new variant of OSX.PROTON malware.

How to use parallel ssh (PSSH) for executing ssh in parallel on a number of Linux/Unix/BSD servers

Posted on in Categories Cloud Computing, Command Line Hacks, Howto last updated April 21, 2017

Recently I come across a nice little nifty tool called pssh to run a single command on multiple Linux / UNIX / BSD servers. You can easily increase your productivy with this SSH tool.

More about pssh

pssh is a command line tool for executing ssh in parallel on some hosts. It provides specialties includes:

  1. Sending input to all of the processes
  2. Inputting a password to ssh
  3. Saving output to files
  4. IT/sysadmin taks automation such as patching servers
  5. Timing out and more

Let us see how to install and use pssh on Linux and Unix-like system.

pssh-welcome

How to speeding up SSH session creation

Posted on in Categories Link last updated January 11, 2017

You can reuse OpenSSH connections to the same server when you want to open subsequent connections to the same server. For example, if I ran ssh [email protected], the ssh client will establish a new SSH connection. It usually takes only a few seconds. However, if I run ssh [email protected] command again, connecting to a server42.cyberciti.biz multiple times result into the overhead.

This tutorial talks about ssh features called multiplexing that reuse an already-established connection when creating a new SSH session.

Touch ID Support for sudo in MacOS Terminal for MacBook Pro

Posted on in Categories Link last updated October 31, 2016

Well, that was fast. Touch ID is a fingerprint recognition security feature, designed and released by Apple. It is currently available on the iPhone 5s/6/7 and Macbook pro-2016 editions. Many consider it as a huge security win for the MacBook Pro’s. This sounds amazing feature for command line users.

Say hello to sudo-touchid

sudo-touchid is a fork of sudo with Touch ID support on macOS (powered by the LocalAuthentication framework). Once compiled, it will allow you to authenticate sudo commands with Touch ID in the Terminal on supported Macs (such as the late 2016 MacBook Pros). Since Darwin sources for macOS 10.12 are not available yet, this project is based on sudo sources corresponding to OS X 10.11.6 and obtained from opensource.apple.com.

=> Download and usage information.

Disabling Google Chrome PDF viewer

Posted on in Categories Howto last updated August 29, 2016

Google Chrome has “Chrome PDF Viewer” to view or open pdf files. It is an unwanted feature. I do not need it at all. I want my PDF open in Preview on a MacOS X or default pdf viewer in Linux. This feature was hidden. I want to disable it from my Google Chrome browser because it was slow scrolling with a large pdf file sizes.

Book Review: Tarsnap Mastery Online Backup For the Truly Paranoid

Posted on in Categories Amazon Web Services, Cloud Computing, Reviews last updated January 4, 2016

Tarsnap Mastery: Online Backups for the Truly Paranoid (IT Mastery) It’s always a good idea to keep backups of all of your data in multiple places. Every Linux or Unix sysadmin must master the art of backups if you want to keep your data forever. Most sysadmin recommend and follows the 3-2-1 rule:

  1. At least three copies of data.
  2. In two different formats.
  3. With one of those copies off-site.

Tarsnap is one of such off-site backup sites. It’s a secure online backup system for UNIX-like system. This service encrypts and stores data in Amazon S3. To use Tarsnap perfectly and feel secure about your backups, you need the “Tarsnap Mastery” book by Michael W. Lucas. It is no secret that I’m a big fan of his book series. Let’s see what the book is all about.