zopencommunity / zopencommunity/gitport
using git remote does *not* create ~/.ssh/known_hosts
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 10
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
at some point - perhaps with 2.50.0 (I don't have an earlier version) it seems that using git remote... fails and does not create the ~/.ssh/known_hosts file when in a script. doing it from the ssh command there is a prompt to create known_hosts and add the target git server to it. But via a script it does not prompt and does not do it causing script failures.
i know it used to work but it doesn't now.....
help
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the git remote... behavior in a script and compare it with running the equivalent SSH command interactively. Check the behavior around Git 2.50.0 and the ~/.ssh/known_hosts file. Done means the intended scripted remote operation handles the host entry consistently and no longer causes the reported script failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, shell
- Domain
- cli, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100