SSH connection hangs when attempting to exit after starting ClearCase
This technote explains how to resolve an issue that can occur where an SSH connection hangs when attempting to exit after starting IBM Rational ClearCase (CC) on Linux.
Linux SSH connection hangs when attempting to exit after starting ClearCase.
This can affect the use of scripts to start/stop ClearCase remotely using SSH.
This is a due to a OpenSSH server design, which will not close the console until all process/jobs executed by the user are completed.
Refer to this SSH FAQ for further details, http://www.snailbook.com/faq/background-jobs.auto.html
Resolving the problem
Redirect the ClearCase start script to either /dev/null or to a log file.
/usr/atria/etc/clearcase start < /dev/null >& /dev/null
/usr/atria/etc/clearcase start < /tmp/ccstart >& /tmp/ccstart
Translate this page: