Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hello Everyone, I Have A Question About Clearml-Agent + Ssh. I Have Valid Ssh Credentials In

Hello everyone,
I have a question about clearml-agent + ssh. I have valid ssh credentials in ~/.ssh but no .ssh/known_hosts yet. My clearml-agent fails to execute the tasks since it is not able to access my git repository with the ssh config. If I connect once manually and create the .ssh/known_hosts in the process, the clearml-agent now can clone my git repository. Is there a way to not require this manual step?

The error I get is:
Host key verification failed. fatal: Could not read from remote repository.

  
  
Posted 3 years ago
Votes Newest

Answers 13


I was wondering whether some solution is builtin in clearml, so I do not have to configure each server manually. However, from your answer I take that this is not the case.

  
  
Posted 3 years ago

that would be a great solution

  
  
Posted 3 years ago

Seems like this is not the best solution:

why not?

  
  
Posted 3 years ago

Yea, something like this seems to be the best solution.

  
  
Posted 3 years ago

oh yea, that is true regarding mitm attacks

  
  
Posted 3 years ago

Okay, thanks for the info! I am currently not using k8s, but may be good to know for the future.

  
  
Posted 3 years ago

so if you are using k8s, you can generate a configMap with the relevant info and mount it

  
  
Posted 3 years ago

You can either use the StrictHostKeyChecking=no or generate a known_hosts file. I don't know about other options

  
  
Posted 3 years ago

it woudl be the same with a docker container and -v then 🙂 np

  
  
Posted 3 years ago

you can actually inject a known_hosts file to your docker container/k8s pod through a volume

  
  
Posted 3 years ago

I have no idea myself, but what the serverfault thread says about man-in-the-middle makes sense. However this also prohibits an automatic solution except for a shared known_hosts file I guess.

  
  
Posted 3 years ago
1K Views
13 Answers
3 years ago
one year ago
Tags
Similar posts