We use SCP to transfer stuff around between servers here (all running RHEL4u6). Recently the CC/CQ admins updated the CQ install to a newer version. Now scp doesn't work. The user ccadm, and the root user needed to have this:
Added to the .bashrc file (according to the admins anyways).
If I comment this out, scp works fine. Checking whether it was the LIBRARY_PATH or PATH, I diffed the before and after variables, and reset these further down in the bashrc. This didn't resolve the issue.
Is there anyway to stop SCP calling this script when connecting from other machines?
BTW here is the actual script:
[root at ccvob01_pr ~]# cat /opt/rational/clearquest/cq_setup.sh
eval `/opt/rational/clearquest/linux_x86/bin/clearquest -dumpsh`
if [ "$EVAL_STATUS" -eq "0" ]
echo "You can now run 'clearquest' to start Rational ClearQuest."
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. If you are not the intended
addressee please contact the sender and dispose of this e-mail. Thank you.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!