Ubuntu: Failed to set up SSH tunneling for host

WARN[0000] Failed to set up SSH tunneling for host []: Can’t retrieve Docker Info: error during connect: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.24/info: Unable to access the service on /var/run/docker.sock. The service might be still starting up. Error: ssh: rejected: connect failed (open failed)
WARN[0000] Removing host [] from node lists
WARN[0000] [state] can’t fetch legacy cluster state from Kubernetes: Cluster must have at least one etcd plane host: failed to connect to the following etcd host(s) []

This is my first attempt to use Rancher and it failed as soon as I started :frowning:
I was not expecting it to work though. It cannot be so simple.
What is required Rancher to work properly?
It does not like the ssh for some reason.
What should I do to solve this problem?

ubuntu@rancher:~$ ./rke --version
rke version v1.1.4

ubuntu@rancher:~$ uname -a
Linux rancher 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

ubuntu@rancher:~$ cat cluster.yml # This is the minimal config from Rancher web page
- address:
user: ubuntu
- controlplane
- etcd
- worker

Please share more details from the node you are using:

  • Output from sudo docker info
  • Output from ls -la /var/run/docker.sock
  • Output from docker ps as user ubuntu on
  • Output from dpkg -l openssh-server

The requirements are listed on https://rancher.com/docs/rke/latest/en/os/