Synergy Autostart on Ubuntu

Synergy is a great program to control multiple computers with a single keyboard and mouse. It is much more useful when configured to autostart on your client machines.

Ubuntu 11.10 Autostart:

$ emacs /etc/lightdm/lightdm.conf

Append the following to the end of the file:

greeter-setup-script=/usr/bin/synergyc 192.168.10.1

*Note: insert your own IP address or computer name.

Ubuntu 11.10 GNOME:

Simply use the Startup Applications Program to add the synergyc [IP ADDRESS] command. Found in Applications -> Other ->Startup Applications.

SSH to GoDaddy

November 15th, 2011 (Happy 10 yr anniversary xbox)

GoDaddy web hosting offers SSH access, but it is not enabled by default. These are the steps needed to enable and configure SSH. I’m assuming that if you are reading this, you already know what SSH is and why you want it. If not, here is the wiki: http://en.wikipedia.org/wiki/Secure_Shell and it is a secure alternative to FTP. I use it with unison to synchronize my files.

GoDaddy
  • All plans now include SSH. I personally have a Deluxe package ($5.99/mo.) because it allows you to host multiple domains. If you are signing up for a new account, search the web for coupons (they always have deals) and get good cashback at fatwallet.com. You can also save by committing to a longer term contract, but you should be sure that their services suite your needs first.
  • Once you have a hosting package, open the control panel by clicking My Account. Scroll down to My Products and click Web Hosting. It should show your hosting account with a Launch button on the right to access the control panel.
  • From the hosting dashboard, click Settings. Next click SSH. It takes up to 10 minutes for the request to be processed. (I’m guessing that they do it by hand, or maybe that is just what they want you to think…)
SSH Client
  • You need a client to connect to your web server. If you are using linux, ssh is usually installed by default. On Windows, putty is a nice little program and doesn’t require installation.
  • Linux: $ ssh username@domain.com
  • Note: your username and password are the same ones that you use for FTP
  • Windows (putty): Host Name: domain.com, Port: 22
  • You will get an alert about the host key not being stored in your cache. You should choose yes to connect.
  • You now have shell access to your webserver.
Notes
  • It is possible to browse the server and see how many other people have shared hosting accounts in your cluster.
  • From your home directory (~), type: cd ..
  • Type ls and you will see about 100 other hosting accounts. (mine has 110).
  • Type dirs to see where what two digit folder your files are in. You can determine which of the 100 folders your home directory is through trial an error or from the Hosting Dashboard on the GoDaddy website, under Absolute Hosting Path (you need to hover your mouse over /home/content).
  • cd .. and ls again and there are another 100+ directories.
  • From what I can tell, your account is on one of many clustered servers, so all 10,000 accounts won’t be running from a single machine. Their 4GH platform is supposed to automatically load balance.
  • I don’t know how many of these cluster’s they have, but I have 2 different accounts and they are each on a different one, because the two digit directory of one does not contain the same directory as the others.
  • Note: Access control will prevent you from viewing the content in those other directories.