$REMOTEHOST is set to NULL on the local machine in csh and tcsh in RHEL 6

Solution Verified - Updated -


  • $REMOTEHOST is set empty on the local machine in csh and tcsh
  • Its expected that if tcsh can't determine the remote host (or that the user is not actually remote) that it wouldn't set this variable at all.

     $ env |grep REMOTE
    $ who am i
    user pts/5        2011-01-07 18:12 (:0.0)
    user@system:log $ env |grep SHELL
  • Having it set to "" can break third party applications.


Red Hat Enterprise Linux (RHEL) 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In