Joined May 2011
·
Posted to
Access EC2 Linux box over ssh without .pem file
over 1 year
ago
This is an amazingly bad idea. There is a reason that we use keys instead of passwords. Amazon isn't trying to make your life harder, they are following best practices and making your systems more secure and keeping you from hurting yourself.
If you want to avoid entering your key name in the SSH command set up an IdentityFile option in your .ssh/options file as seen here (http://nerderati.com/2011/03/simplify-your-life-with-an-ssh-config-file/).
Achievements
49 Karma
0 Total ProTip Views

Forked
Have a project valued enough to be forked by someone else

Charity
Fork and commit to someone's open source project in need

Mongoose 3
Have at least three original repos where Ruby is the dominant language

Mongoose
Have at least one original repo where Ruby is the dominant language
This seems like a lot of work to just install Rails. Why not just type "gem install rails"? This way you don't have to do any funky downloading of scripts and it places it in a "site" Gem directory. I use RVM and can have multiple different versions of Rails installed simultaneously and I can choose which one I want on the fly.