Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <41150C47.6030900@alltel.net> Date: Sat, 07 Aug 2004 12:07:19 -0500 From: Ken Dibble User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) MIME-Version: 1.0 To: cygwin Subject: Re: how can I set $REMOTEHOST ( so I can set $DISPLAY with sshd w\X11 forwarding) References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit I'm not 100 % sure what you are saying. Are you trying to say that the cygwin sshd does not respect the -X and -Y flags passed to the local ssh process? And that for the above named reason you are forced to manually set the DISPLAY variable? regards, ken peter waltman wrote: >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? > > > > -- 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/