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.gitonproject-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.
Recommended Fix
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.
Related Files
locations/pump.mdprojects/garage/repositories.md