Putty is a lovely ssh program, but I love console2 even more.
To use ssh to connect to Amazon EC2 server, you need cygwin to run openssh in Windows environment.
The command is (under cygwin):
ssh -i MySite.pem ubuntu@xxx.amazonaws.com
To make the command shorter, create "~/.ssh/config"
and add:
Host MySite
User ubuntu
Port 22
IdentityFile ~/.ssh/MySite.pem
HostName xxx.amazonaws.com
To connect, just type:
ssh MySite
Mar 18, 2012
OpenSSH configuration file
Posted by Lono at 17:10
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment