Location Based SSH Access Using GeoIP

To control SSH access based on location, I will use the GeoIP free database to determine the source IP address. Each time an external (non-local network) connection is initiated, the script will be executed by the SSH daemon to identify the region. If the region is not in the allowed list the connection will be…

Continue reading →

PulseAudio Mute and Unmute using CLI

The following command will mute and unmute the sound alternatively depending on the current setting:

The command can be assigned to a keyboard key combination using the Keyboard Settings application. The above assumed that PulseAudio is the primary audio system and that alsamixer is installed as well.

Continue reading →

Setup Passwordless SSH

From http://www.cs.utah.edu/~bigler/code/sshkeys.html Generate your key pair (do no enter password when prompted)

Copy public key to remote server

Continue reading →