kubernetes icon indicating copy to clipboard operation
kubernetes copied to clipboard

./ssh_into_kubelet.sh <masterIP> gives /root/.ssh/config: terminating, 1 bad configuration options

Open hemeda3 opened this issue 6 years ago • 0 comments

Description

Steps to reproduce the issue: When you run this step:

Login to the kubelet container: ./ssh_into_kubelet.sh 192.168.65.4 # Which is my Master IP Describe the results you received: then you get this error: /root/.ssh/config: terminating, 1 bad configuration options

Describe the results you expected: I expected to login into Master node directly: linuxkit-025000000002:/# Additional information you deem important (e.g. issue happens only occasionally): I fix it by :

$ nano ~/.ssh/config you suppose to see such output ... Host * AddKeysToAgent yes UseKeychain yes IdentityFile ~/.ssh/id_rsa => then I REMOVED this line ONLY UseKeychain yes

=> then ctrl + X to save the file

  • I use macOS Mojave 10.14 and I don't know what the side effect of this new changes on my MacOs ** It's working with me, I know this may seems silly for some people, but there is no clear error message, the fix was easy but to find what is the problem exactly took huge mount of time

I hope that someone could update docs or any one has this problem will find the solution here.

hemeda3 avatar Mar 05 '19 02:03 hemeda3