delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/06/22:30:57

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
From: peter waltman <pwaltman AT eecs DOT tufts DOT edu>
Subject: how can I set $REMOTEHOST ( so I can set $DISPLAY with sshd w\X11 forwarding)
Date: Sat, 7 Aug 2004 01:57:07 +0000 (UTC)
Lines: 14
Message-ID: <loom.20040807T035049-115@post.gmane.org>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: main.gmane.org
User-Agent: Loom/3.14 (http://gmane.org/)
X-Loom-IP: 209.6.159.63 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8)
X-IsSubscribed: yes

hi -

trying to figure out how to set $REMOTEHOST when I ssh into a machine running
cygwin's imp. of sshd.  X11 forwarding works great when I set the $DISPLAY
properly, but I'd like to have it done in the .bashrc file (by checking if the
$REMOTEHOST var is set).

I've tried looking through the startup scripts on both my cygwin install and a
rh9 box, but can't find where it gets set.  can anyone point me in the right
direction?

tia,

Peter


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019