This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Updated: base-files-4.0-7

On Sat, Feb 11, 2012 at 11:08:25AM -0800, David Rothenberger wrote:
> 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
> >
> 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.

Thanks for reporting. Exporting SHELL form /etc/profile was suppossed
to add functionality, not to break anything :-/
Anyway, since base-files doesn't know if your shell is /bin/bash, or
/usr/local/bin/bash or any other, I think I have to remove it from
Will be fixed in base-files-4.0-8

Sorry for the inconvenience.

Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56

Attachment: signature.asc
Description: Digital signature

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]