ubuntu@ip-172-31-43-47:~$ kops create cluster --zones=us-east-2c useast2.soldatinc.net
I0405 00:00:15.764429 15685 create_cluster.go:439] Inferred --cloud=aws from zone "us-east-2c"
error reading SSH key file "/home/ubuntu/.ssh/id_rsa.pub": open /home/ubuntu/.ssh/id_rsa.pub: no such file or directory
ubuntu@ip-172-31-43-47:~$ pwd
/home/ubuntu
ubuntu@ip-172-31-43-47:~$ cat /home/ubuntu/.ssh/id_rsa.pub
cat: /home/ubuntu/.ssh/id_rsa.pub: No such file or directory
ubuntu@ip-172-31-43-47:~$ cd /home/ubuntu/.ssh/
ubuntu@ip-172-31-43-47:~/.ssh$ ll
total 12
drwx------ 2 ubuntu ubuntu 4096 Apr 4 02:04 ./
drwxr-xr-x 5 ubuntu ubuntu 4096 Apr 4 23:58 ../
-rw------- 1 ubuntu ubuntu 392 Apr 4 02:04 authorized_keys
ubuntu@ip-172-31-43-47:~/.ssh$ cat authorized_keys
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCZhu8fX+eiatI97J7NXneGVrGN2t5R9IFiH+ZX7bCtw8z7fofGsSQ1NN1uxwEmWEPSyHGhItUbnU9OeN9/FGQpHK93u9DpMhim9Navem7LuWM1ew78HY+9Aqk40OG0cOOGde4Wziq8DX8/r5VJdNtlUNaGYEG7/gtfpgpgR6LTCHc9pz9XUDYt+it5QBzD+rtdWGKIw6Pmg84jj4jhAhuvrMwZu5sfAVhuD6TBqWHmVDRx5PesvGc78mkzlimzzPaTHS9oaT7kN1dGmQGBzZbrDF6qPxfgaYd5zWDjS42dwdiP3OKOpN49NxxEF8hd0ysA6CQnEStznxaR5GNynP4r jskcbe-key
ubuntu@ip-172-31-43-47:~/.ssh$
Fixed after doing an ssh-keygen
No comments:
Post a Comment