| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4F36BCA9.804@acm.org> |
| Date: | Sat, 11 Feb 2012 11:08:25 -0800 |
| From: | David Rothenberger <daveroth AT acm DOT org> |
| User-Agent: | Mozilla/5.0 (Windows NT 5.1; rv:10.0) Gecko/20120129 Thunderbird/10.0 |
| MIME-Version: | 1.0 |
| To: | The Cygwin Mailing List <cygwin AT cygwin DOT com> |
| Subject: | Re: Updated: base-files-4.0-7 |
| References: | <20120210220912 DOT GD21762 AT jethro DOT local DOT lan> |
| In-Reply-To: | <20120210220912.GD21762@jethro.local.lan> |
| X-IsSubscribed: | yes |
| Reply-To: | cygwin AT cygwin DOT com |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| 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 |
2/10/2012 2:09 PM, David Sastre Medina wrote:
> * Environment variable SHELL is now exported from /etc/profile.
> Improved profile_d() function in /etc/profile - Cyrille Lefevre
> cygwin.com/ml/cygwin/2011-11/msg00128.html
I'm having some troubles due to this change. I'm using bash, and the
new /etc/profile exports SHELL=bash.
This breaks ssh when using a ProxyCommand. I have this in my
~/.ssh/config file:
Host somehost
ProxyCommand ssh -q otherhost /usr/bin/nc %h %p
When I try to ssh to somehost, I get:
% ssh somehost
bash: No such file or directory
ssh_exchange_identification: Connection closed by remote host
If I set SHELL to /bin/bash (which is how it was defaulted before it
was set in /etc/profile), everything works fine.
--
David Rothenberger ---- daveroth AT acm DOT org
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |