zopencommunity / zopencommunity/gitport

using git remote does *not* create ~/.ssh/known_hosts

Open
#165 5 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.