Updated: base-files-4.0-7
David Sastre Medina
d.sastre.medina@gmail.com
Sun Feb 12 11:11:00 GMT 2012
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
> > 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.
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
/etc/profile.
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: Digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20120212/5117a1bc/attachment.sig>
More information about the Cygwin
mailing list