I don’t quite understand what you mean by “I think I can disable the certificate” when you just said “and is there only one way to connect [...] only the certificate”?
I think you would like to have something similar in .ssh / config. Add a section similar to the following 5 lines to any existing ~ / .ssh / config file (i.e. /home/sehe/.ssh/config)
Host myec2host
HostName 151.47.12.88
User ubuntu
IdentityFile ~/.ssh/mycert.pem
Compression yes
Note
- Replace with the
myec2hostalias that you want to get to the ec2 instance, - Replace the IP address with the external (optionally elastic) IP address of your instance
~/.ssh/mycert.pem ( ), ; mycert.pem , , ,- (, ) . Ubuntu ec2 ( Canonical)
ubuntu; root
, man ssh_config . , http://alestic.com/ - Ubuntu + EC2 ( , Alestic Canonical). , google ec2ubuntu, .
, Nautilus "my3c2host" reset . , ( , gpg-agent... dunno ).