Connecting to Amazon EC2 Linux instance using PuTTY
EC2 private key file has extension .pem , which cannot be used by PuTTY. So we have to convert .pem to .ppk format which PuTTY accepts. Listing the steps below to do it,
-
Download PuTTYgen - http://the.earth.li/~sgtatham/putty/latest/x86/puttygen.exe
-
Launch PuTTYgen, Using the ‘Import’ command from the ‘Conversions’ menu, load the .pem file of EC2 and press ’Save Private Key button’. Ignore warning about leaving the passphrase blank. The file will be saved with .ppk extension
-
Now launch PuTTY, go to SSH panel, ‘Private key file for authentication’ load the .ppk file, and now you can use PuTTY to connect to the EC2 instance.
References:
- http://clouddb.info/2009/05/17/a-quick-overview-of-putty-and-ssh-for-aws-newbies/
- http://the.earth.li/~sgtatham/putty/0.62/htmldoc/Chapter8.html#puttygen-conversions
- http://the.earth.li/~sgtatham/putty/0.62/htmldoc/Chapter4.html#config-ssh
- http://docs.amazonwebservices.com/AWSEC2/latest/GettingStartedGuide/LaunchInstance.html
Using Ubuntu GUI remotely using NoMachine or Xming from Windows 7
Solution 1: NoMachine
Steps:
- Download NoMachine Linux server from here http://www.nomachine.com/select-package.php?os=linux&id=1
- Follow installation instructions given here http://www.nomachine.com/documents/server/install.php
- Download NoMachine windows client from here http://www.nomachine.com/download-package.php?Prod_Id=3655
- Follow installation instructions given here http://www.nomachine.com/documents/client/install.php
Solution 2: Xming
Steps:
- Install PuTTY http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
- Follow steps in this site to install Xming and to set it up to make it work together with PuTTY http://rcc.its.psu.edu/user_guides/remote_display/xming/
- Install additional fonts package for Xming http://sourceforge.net/projects/xming/files/
- Follow steps given in below link to increase the font sizes displayed in GUI through Xming http://aufather.wordpress.com/2010/11/21/increasing-font-size-in-xming-server/
Problem: Graphical programs are very slow.
Solution: Enabling “SSH compression” might help if you use a low bandwidth connection. The option is under Connection > SSH in the left menu of PuTTY. ( http://doc.es.aau.dk/it_services/software/windows/putty_and_xming/)
Conclusion:
I am using NoMachine, as Xming(6.9.0.31) was slow even after using SSH compression. And the latest version of Xming(7.5.0.45), which possibly has fixes for slow GUI ( http://www.straightrunning.com/XmingNotes/) was not available for free.
Running Spotify(Free) for Windows in Ubuntu 11.10 (oneiric) using Wine
*Make sure you have Wine installed http://www.winehq.org/download/ubuntu
*Dowload Spotify for Windows from http://www.spotify.com/us/download/windows/
*Open the downloaded “Spotify Installer.exe” to install Spotify through Wine
*Now open a console and run the following command (this step is to solve Spotify crash issue - reference http://getsatisfaction.com/spotify/topics/spotify_crashes_at_start_on_ubuntu_11_04_with_wine)
*winetricks winhttp
*Now in your Desktop click on the Spotify launch icon to launch Spotify
*Login with your Spotify account and enjoy free Music
How to setup MCE IR Remote for XBMC
IR Remote model which I am using is “Noah Company MediaGate HA-IR01SV Windows Vista Home Premium and Windows Vista Ultimate MCE Remote Control, 1 Channel IR (Silver)”.
Steps to get it working*Connect the IR receiver to the USB port.
*Install lirc
sudo apt-get install lirc
*In the configuration page shown for lirc during installation, you have to choose the type of remote. Here choose as “Windows Media Center Transceivers/Remotes (all)”. Select OK
*For any of the other selections asked in next configuration pages, proceed with the default option selected.
*To test if setup is proper, open console and enter command “irw”. It should appear to hang, now press buttons in the remote, and you should see the key presses printed on the terminal. Now you are ready to use your remote with XBMC.
References
Sync Google contacts with Nokia E63 phone contacts
Follow steps below to sync your Google contacts with Nokia E63 phone contacts.
( http://www.google.com/mobile/sync/)*Go to Menu -> Tools -> Sync
*Select Options -> New Sync profile
*Give profile name for example Google sync
*Go inside Application->Select Contacts
*Give the following Include in sync - Yes Database in phone - C:Contacts.cdb Remote databases - contacts Synchronization type - Both ways
*Now come back to the edit profile page and go to Connection Settings, and give the following details Server version - 1.2 Server ID - Google Data bearer - Internet Access point - Always ask Host address - https://m.google.com/syncml Port - 443 User name - Password - Allow sync request - Yes Accept all sync requests - No Network authentication - No
*You are all set, now Open the sync profile and select Synchronize.