This error is generally seen when using an ssh url (like git@aserver:arepo
)
The usual cause is, on the git repo hosting server side, a .profile or .bashrc which includes some echo: see Git FAQ
It likely means you have some extraneous characters, info message or something upon logging into ssh in command mode.
To test this, do:
ssh user@git.example.com echo testing commands
You should only see testing commands returned. If there are any other characters, you should examine your dot shell rc file to find any echo or other commands that may produce output.
In your case, for Openshift, consider one of the common commands:
rhc ssh ls
Check if the ls is polluted by any other output.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…