Comments (6)
And I verified my key exists for us-east-1
.
from autovpn.
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.
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.
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.
I will check out the ssh-agent issue. Thanks.
from autovpn.
Yes, adding my key to ssh-agent worked. Thanks.
from autovpn.
Related Issues (20)
- key already exist in aws
- error code 5 HOT 6
- custom port 443 with -p flag and issue connecting to vpn HOT 2
- Error code 4 HOT 3
- Error code 5 HOT 5
- Documentation should indicate '[default]' header for AWS credentials, not '[Credentials'] HOT 2
- no internet HOT 5
- VPCIdNotSpecified</Code><Message>No
- IP address = None HOT 7
- How to specify VPC id? HOT 1
- autovpn -T -r us-east-1 does not shut down the instance HOT 2
- Chrome reports DNS_PROBE_FINISHED_BAD_CONFIG when openvpn is run HOT 6
- Bidirectional network access (ec2 <-> on-premises) HOT 2
- what packages do you have installed for this to work HOT 1
- Can't get this working HOT 1
- vpn to ec2 instances in a different peered vpc on the same region on the same aws account HOT 2
- Port to Python 3 HOT 1
- idea : add option to associate elastic ip
- . HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autovpn.