Unable to connect to worker nodes

root@ip-172-31-95-196:~# kubeadm join 172.31.22.203:6443 --token q0hw4s.e1txj92rz0096oue \

–discovery-token-ca-cert-hash sha256:4288199bce22c50a0e88c3b452fc206161b0ed513478036253211 e7a9188214a
accepts at most 1 arg(s), received 3
To see the stack trace of this error execute with --v=5 or higher
root@ip-172-31-95-196:~#

am getting this type of error, how to resolve?

Kubernetes version:
Cloud being used: (put bare-metal if not on a public cloud)
Installation method:
Host OS:
CNI and version:
CRI and version:

You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.

Hi @moni ,
This was not in the proper align and there was a space between 13478036253211 e7a9188214a . why don’t you make it in a single line?
Something like this: -

kubeadm join 172.31.22.203:6443 --token q0hw4s.e1txj92rz0096oue --discovery-token-ca-cert-hash sha256:4288199bce22c50a0e88c3b452fc206161b0ed513478036253211e7a9188214a

Regards,