rke: "rke up" got "ssh: rejected: administratively prohibited (open failed)"
rke version: rke version v0.0.7-dev
problem: when to run “./rke -d up” with the file “cluster.yml” in the same folder, I got:
INFO[0000] [certificates] Generating kubernetes certificates INFO[0000] [certificates] Generating CA kubernetes certificates … INFO[0003][certificates] Deploying kubernetes certificates to Cluster nodes DEBU[0003] [certificates] Pulling Certificate downloader Image on host [node1] FATA[0008] Can’t pull Docker image rancher/rke-cert-deployer:0.1.0 for host [node1]: error during connect: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.24/images/create?fromImage=rancher%2Frke-cert-deployer&tag=0.1.0: Error connecting to Docker socket on host [node1]: ssh: rejected: administratively prohibited (open failed)
Tried to fix it by enabling the ssh config,AllowTcpForwarding yes, but failed.
Any suggestions?
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 23 (10 by maintainers)
if you run rke in centos7, you should not use the root user to open the ssh tunnel.you can try the following step to run rke in all nodes:
now you can run “rke -d up” to setup your k8s cluster. if you meet “Failed to Save Kubernetes certificates: Timeout waiting for K8s to be ready” when running rke,your can see something here #121
Is this on CentOS/RHEL by any chance?