https://rancher.com/ logo
#rke
Title
# rke
a

adamant-kite-43734

09/07/2022, 2:19 AM
This message was deleted.
f

freezing-wolf-83208

09/07/2022, 4:02 PM
do you have the key exchange done between the servers? all three servers would need the public key.
a

ancient-bird-9943

09/07/2022, 4:12 PM
Yes. I utilize ssh certs and have them implemented properly (or at least I think I do). When the cert has expired (mine only last 30 minutes currently), the
rke up
command complains about authentication. When it's working (as shown by being able to ssh in without a password with that command), it gives that connect failed error.
f

freezing-wolf-83208

09/07/2022, 4:28 PM
does the cluster yaml have your ID listed as user?
a

ancient-bird-9943

09/07/2022, 4:36 PM
The username for the cert, location, and user is all correct. The user also belongs to the docker group. I can use ansible to setup across all the hosts using my current ssh config as well.
f

freezing-wolf-83208

09/07/2022, 4:44 PM
hmm... I have encountered this only when the user wasnt defined right or the .ssh/authorized_keys file wasnt available under the home folder. did you check the file permission on that file?
a

ancient-bird-9943

09/08/2022, 2:40 AM
I ended up just using normal ssh keys via the authorized_keys folder and gave up on certs for this.
35 Views