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
I Try To Use A Ssh Key For Git. When I Push A File To Git I Still Have To Write My Name And Password. I Solved It By The Command: Git Remote Set-Url Origin Git@Rz-S-Git:C.Huber/Allegro.Git How Can I Use This With Allegro? At The Moment I Get Get Error: Fa

I try to use a ssh key for git.
When I push a file to git I still have to write my name and password.
I solved it by the command:
git remote set-url origin git@rz-s-git:c.huber/allegro.git
How can I use this with allegro?
At the moment I get get error:
fatal: could not read Username for ' http://rz-s-git ': terminal prompts disabled

  
  
Posted 3 years ago
Votes Newest

Answers 9


thanks for the answer.
I tried it but it did not work.
I have the same error:
fatal: could not read Username for ' http://rz-s-git ': terminal prompts disabled.
The git account have 2 users. I tried a run a different project from the other user and it worked.
The problem is to clone repository from different users.
does anyone know how I can best proceed?

  
  
Posted 3 years ago

For .git-credentials remove the git_pass/git_user from the clearml.conf
If you want to use ssh you need to also add:
force_git_ssh_protocol: truehttps://github.com/allegroai/clearml-agent/blob/a2db1f5ab5cbf178840da736afdc370cfff43f0f/docs/clearml.conf#L25

  
  
Posted 3 years ago

Hi UnsightlySeagull42
Do you mean how tp pass user/pass (user/token) to the clearml-agent so it can clone your repository ?
https://github.com/allegroai/clearml-agent/blob/a2db1f5ab5cbf178840da736afdc370cfff43f0f/docs/clearml.conf#L18

  
  
Posted 3 years ago

At the moment I try SSH.
I should have permission. what can I do?
git@rz-s-git: Permission denied (publickey,password).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

  
  
Posted 3 years ago

is there a better way instead of creating multiple ssh keys?

  
  
Posted 3 years ago

UnsightlySeagull42 the assumption is that the agent has a read-only all access user.
As the moment there is no way to configure it to have diff user/pass per repository in the clearml.conf
You can however:
embed the user/pass on the repository link (not very secure) Use ssh-key and have it on .ssh on the host machine Use .git-credentials and configure them (with per project user/pass)

  
  
Posted 3 years ago

Does this mean that I need to create multiple ssh keys? 1 key for each user?

I think so

Use .git-credentials

This might also support multiple user/repo

  
  
Posted 3 years ago

i will use the 2. option
Does this mean that I need to create multiple ssh keys? 1 key for each user?

  
  
Posted 3 years ago

AgitatedDove14
do I have to change a parameter in the config file to use .git-credentials?

  
  
Posted 3 years ago
1K Views
9 Answers
3 years ago
one year ago
Tags