Connecting to SSH using .pem file


Option 1

$ ssh-add /path/to/pemfile.pem
$ ssh username@hostname

Option 2

$ ssh -i /path/to/pemfile.pem username@hostname
Posted on June 08, 2012 06:02 AM by Subhash Chandran
amazon pem ssh aws