error parsing SSH public key: ssh: no key found #68
Comments
I fixed this issue, but it become a new issue as below: [ec2-user@ip-10-0-1-198 kops-cn-master]$ make create-cluster error adding SSH public key: error fingerprinting SSH public key "admin": error parsing SSH public key: ssh: no key found |
Your public key file may be broken or does not exist. Make sure your public key file exists and is valid in |
It seems if we generate the public key from somewhere else and import to /home/ec2-user/.ssh/, it won't work. But if we generate the public key in EC2 directly by using "ssh-keygen", the key can be used. |
I run into following issues when creating the cluster
I0416 09:48:45.708089 3672 create_cluster.go:1407] Using SSH public key: /home/ec2-user/.ssh/id_rsa.pub
error reading cluster configuration "cluster.zhy.k8s.local": error reading s3://liuhongxi-kops-cn/cluster.zhy.k8s.local/config: Unable to list AWS regions: NoCredentialProviders: no valid providers in chain
<title>404 - Not Found</title>caused by: EnvAccessKeyNotFound: failed to find credentials in the environment.
SharedCredsLoad: failed to load profile, default.
EC2RoleRequestError: no EC2 instance role found
caused by: EC2MetadataError: failed to make EC2Metadata request
caused by:
404 - Not Found
make: *** [create-cluster] Error 1
The text was updated successfully, but these errors were encountered: