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: "ssh-host-config -y" w/CYGWIN set to ntsec..; ssh works but CYGWIN *not* set


Tom Rodman wrote:

> I've upgraded to 1.5.16, and installed the latest openssh, using
> the "ssh-host-config -y" script.  I specified CYGWIN be set to:
> 
>   binmode tty ntsec smbntsec
> 
> When I logon w/simple password authentication, CYGWIN is undefined:
> 
>   bash-2.05b $ ssh localhost -l adm_tsr
>   adm_tsr@localhost's password:
>   Last login: Tue May 24 22:58:12 2005 from 127.0.0.1
>   Welcome!
>   bash-2.05b $ echo "CYGWIN is: [$CYGWIN]"
>   CYGWIN is: []

I could be wrong here but I thought that setting of $CYGWIN for the
service affects only the environment of the actual service, not for the
general cygwin environment.  If you want the CYGWIN environment variable
set to a certain value globally, just set it in the system properties
dialog.

BTW, ntsec has been enabled by default for years (?) so it's pointless
to specify it in the environment.

The delay you are seeing is probably due to ssh trying to do a reverse
dns lookup of 127.0.0.1 and timing out.  Make sure you have a hosts file
that specifies "127.0.0.1 localhost" if you want to skip that delay.

Brian

--
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/


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