Configure SSH Key-Based Authentication on a Linux and Mac


How To Create SSH Keys

The first step to configure SSH key authentication to your server is to generate an SSH key pair on your local computer.

To do this, we can use a special utility called ssh-keygen, which is included with the standard OpenSSH suite of tools. By default, this will create a 2048 bit RSA key pair, which is fine for most uses.

On your local computer, generate a SSH key pair by typing:

The utility will prompt you to select a location for the keys that will be generated. By default, the keys will be stored in the ~/.ssh directory within your user’s home directory. The private key will be called id_rsa and the associated public key will be called Stick with the default location.

Copying your Public Key Using SSH-Copy-ID

The easiest way to copy your public key to the server is to use a utility called ssh-copy-id. For this method to work, you must already have password-based SSH access to your server.

Simply specify the remote host that you would like to connect to and the user account that you have password SSH access to. This is the account where your public SSH key will be copied.

The syntax is:
ssh-copy-id username@remote_host

Special thanks to

Categories : Debian  OS X  Raspberry Pi  Ubuntu

Vandals caught on camera


The kids in these two pictures punctured a hole in my cars front left tire and then rang out doorbell at 3:20 am on August 24, 2014.

My son and I were set for a early start to make an amusement park a few hours away. We still made the amusement park after filing our report with the sheriff. Vandalism to the car costs me time and money to repair. Taking time from an adventure with my son is unacceptable and the juveniles will be found.

I’ll be distributing the photos and information to the local middle schools.



Categories : Omaha

Stopping SD Card Corruption on Raspberry Pi’s Raspbian


Excellent post written by rannick

Categories : Raspberry Pi

Install Raspbian from OS X


Download image from

Plug in SD card

Identify SD card
df -h

Note: /dev/disk1s1 is the disk on my MacBook Pro. You need to review and change the disk info as necessary.

sudo diskutil unmount /dev/disk1s1

Apply image to SD card
sudo dd bs=1m if=2012-09-18-wheezy-raspbian.img of=/dev/rdisk1

Mac OSX applications won’t start after cloning or time machine restore


I cloned a drive on the Mac Mini and when the clone started up everything looked in order. However, some apps were giving warnings or dumping when they started.

Twitter for Mac would ask for credentials and then fail.
MS Office 2011 kept giving a warning about the database.
Firefox was missing a profile.

Permissions seemed to be the culprit and then I ran across this forum thread.

The fix was as easy as:
Run this command in terminal from your home directory
sudo chown -R `id -un`:`id -gn` ~

Categories : OS X
Tags :   

Cloudmin manual restore


cloudmin restore-systems –host system.tld –source /mnt/xen-backups/%M-%D-%Y

Remote VNC login to Ubuntu 12.04


Installed x11vnc:
apt-get install x11vnc

Create /etc/init/x11vnc.conf file:
start on login-session-start
x11vnc -xkb -noxrecord -noxfixes -noxdamage -display :0 -auth /var/run/lightdm/root/:0 -forever -bg -o /var/log/x11vnc.log
end script

After restart, x11vnc shoud listen on vnc startard port – 5900.

Script is based on upstart event mechanism when Lightdm emits login-session-start event, x11vnc is started.


Categories : Ubuntu



…And on the 8th day, God created hackers.

He saw that this was good, for on the 9th day,

hackers used two stones to make fire.

Asterisk ARI Kicking User Out


When ARI kicks a person out or the voicemails are not playing when requested. Check the directory authorizations.

chown asterisk:asterisk /var/lib/php/session

Categories : Debian  Asterisk

Removing Guest from Ubuntu 11.10


To remove the guest login option you have to modify /etc/lightdm/lightdm.conf.


You can either reboot or restart the service.
sudo restart lightdm

Categories : Ubuntu