how can I set $REMOTEHOST ( so I can set $DISPLAY with sshd w\X11 forwarding)

peter waltman pwaltman@eecs.tufts.edu
Sat Aug 7 05:09:00 GMT 2004


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/



More information about the Cygwin mailing list