I am sure you have already seen the official How to document on Amazon Web Services website how to use PuTTy in order to connect from Windows machine to your [easyazon-link asin=”0596515812″ locale=”us”] Amazon EC2 [/easyazon-link]instance. In my opinion it is not the easier how to I have seen. Good news here, there is another FREE and paid software that you can use to connect from Windows machine to [easyazon-link asin=”B007X6SMD6″ locale=”us”] Amazon EC2 [/easyazon-link] instance over ssh without extra steps and directly with using your Key.pem file.
Say hello to MobaXterm – you can download installation package or you can juts use stand alone app on your desktop. The tool is not ONLY for supporting ssh but also you can use it to multiple machines over VNC, RDP. It is very rich application with many options and features.
MobaXterm is an enhanced terminal for Windows with an X11 server, a tabbed SSH client and several other network tools for remote computing (VNC, RDP, telnet, rlogin). MobaXterm brings all the essential Unix commands to Windows desktop, in a single portable exe file which works out of the box. There two version Personal with some limitations and Professional.
How to use it to connect to EC2:
- copy your Amazon key.pem file and save on on C: drive
- Open MobaXterm
- issue cd C: to navigate to C: drive root
- now you can simply issue a command to connect to EC2 as bellow
cd C: ssh -i MyAmazonKey.pem email@example.com
If you entered correct name for your pem file and user name with public IP for your EC2, you should be by now connected to your[easyazon-link asin=”1449363628″ locale=”us”] Amazon EC2 [/easyazon-link] instance and do all your task as you need.
[easyazon-image align=”none” asin=”1449393683″ locale=”us” height=”160″ src=”http://ecx.images-amazon.com/images/I/51hnUksxa4L._SL160_.jpg” width=”122″]