nwcdheap/kops-cn

how to ssh the master or node

hhuchzh opened this issue · 1 comments

after finish creating the cluster, when I use ssh
"ssh -i ~/.ssh/id_rsa.pub admin@ip-xx-xx-xx-xx.cn-north-1.compute.internal"
to login the master or node, it need to input the password, what's the password?

pahud commented

As the AMI is CoreOS system, you should ssh login into the instance with your local ssh private key like this

ssh -i ~/.ssh/id_rsa core@EC2_PUBLIC_IP

and then you can check the system log with journalctl, e.g.

$ sudo journalctl -f