This repository has been archived on 2026-07-09. You can view files and clone it, but cannot push or open issues or pull requests.
agent-knowledge-base-archived/problems/2026-05-24-pump-kamaz-remote-credential-like-userinfo.md
2026-05-24 14:49:37 +03:00

1.3 KiB

Pump Kamaz_Cleaner Remote Contains Credential-Like Userinfo

Symptoms

During pump inventory, the remote URL for C:\git\Kamaz_Cleaner pointed at 192.168.1.66 over SSH but contained credential-like userinfo before the host.

The exact value is intentionally not copied into this knowledge base.

Environment

  • Machine: pump
  • Repository: C:\git\Kamaz_Cleaner
  • Branch: main
  • Remote target host: 192.168.1.66
  • Related bare repository: /srv/git/Kamaz_Cleaner.git on project-repos-192-168-1-66

Risk

Even if the userinfo is only a malformed SSH URL or placeholder, it looks like it could contain a credential. It should not be propagated into docs, logs, screenshots, or future commits.

After confirming the intended access method, rewrite the local remote to a key-based SSH URL without password-like userinfo, for example:

git remote set-url origin ssh://pump@192.168.1.66/srv/git/Kamaz_Cleaner.git

If the removed value was a real password or reusable secret, rotate it outside the repository.

Verification

git remote -v
git ls-remote origin HEAD

The remote should not contain password-like userinfo, and authentication should work through an approved SSH key or credential manager.

  • locations/pump.md
  • projects/garage/repositories.md