- 1 Tips and Considerations When Creating Virtual Machines in Azure
- 2 The End of the Road for Windows Server 2003 and 2008
- 3 Move-VM, Move-VMStorage and Compare-VM PowerShell cmdlets for Hyper-V
- 4 Key Considerations for WSUS 6.2 on Windows Server 2012 R2
- 5 Using Amazon Glacier or S3 as an Online Backup Server
Setting Up VNC on Ubuntu in Amazon EC2 - Page 2 Page 2
Connecting to the Ubuntu Instance via SSH
Go to the Security Groups page.
Select the Security Group your instance is assigned to (check on the Instances page if you're unsure).
Select the Inbound tab.
For Create a new rule, select SSH, click Add Rule and then Apply Rule Change.
Now you can connect to your instance via SSH. While you can use Amazon's Web-based SSH client, for increased functionality you should use a full-featured client like the free and open source PuTTY program for Windows and Unix platforms.
And when downloading PuTTY for Windows we recommend downloading the Windows installer package, so it's installed onto Windows like other programs and comes with the PuTTYgen program you'll also need.
Once you've installed PuTTY, run the PuTTYgen program and convert your private key .pem file into a PuTTY private key .ppk file:
- Click the Load button, select the All Files option, select the .pem file you downloaded from Amazon EC2, and click Open.
- Click OK on the prompt that appears.
- For increased security you can create a password that you must enter when connecting via SSH with this private key. If desired, enter a password in the Key Passphrase and Confirm Passphrase fields.
- Click the Save Private Key button, choose a safe and secure location, and click Save.
Now you can open the PuTTY program and configure it:
- For the Host Name, enter your Public DNS address, which you can get from the AWS Instances page.
- Then navigate to the Auth (authentication) settings: click Connection, SSH and Auth. Click the Browse button, select the .ppk file you generated with PuTTYgen and click Open.
- So that you can later remote desktop into the instance, select Tunnels under the SSH settings. Enter 9000 for the Source Port and localhost:5901 for the Destination and then click Add.
- Go back to the Session settings and you can save this configuration by entering a name in the textbox under Saved Sessions and clicking Save.
When you're ready to connect, click Open on the PuTTY program. Then log in as the
ubuntu user. If you created a password when you generated your PuTTY private key, enter it; otherwise it should just connect.
Read more on "Server Software Spotlight" »