Giter Club home page Giter Club logo

Comments (6)

dtsmith2001 avatar dtsmith2001 commented on May 23, 2024

And I verified my key exists for us-east-1.

from autovpn.

dtsmith2001 avatar dtsmith2001 commented on May 23, 2024

After reading a few issues, and more on AWS key pairs, I imported a key pair and verified it's present in AWS EC2. I then tried

autovpn -C -r us-east-1 -k my_key_name -u my_user_name

using the username I created for myself (yes, I can log into AWS with it) and key name from ~/.ssh (without .pub). Yes, this is the keyname I imported to EC2. I am still getting the same error.

I suspect strongly that this is an EC2 problem when trying to create an instance. If anyone else had this problem and solved it, please let me know.

from autovpn.

dtsmith2001 avatar dtsmith2001 commented on May 23, 2024

A last update for now. I added the permissions AmazonEC2FullAccess and AmazonEC2SpotFleetRole to my user permissions, and also to the group permissions as well. I still have the same problem.

from autovpn.

ttlequals0 avatar ttlequals0 commented on May 23, 2024

The -u is only needed if you chose an ami that has a default user other than ubuntu. The only thing you need to simply deploy an endpoint is to run.
autovpn -C -r us-east-1 -k my_key_name

It also looks like in earlier posts you were having permissions issues.
NOTE: make sure your ssh key is added to your users ssh-agent

from autovpn.

dtsmith2001 avatar dtsmith2001 commented on May 23, 2024

I will check out the ssh-agent issue. Thanks.

from autovpn.

dtsmith2001 avatar dtsmith2001 commented on May 23, 2024

Yes, adding my key to ssh-agent worked. Thanks.

from autovpn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.