delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/27/14:45:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.0.1.1.0.20040327143953.03675498@127.0.0.1>
X-Sender:
Date: Sat, 27 Mar 2004 14:41:56 -0500
To: Bindaas Guy <codecfella AT yahoo DOT com>, Cygwin List <cygwin AT cygwin DOT com>
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: Strange problem wiith Cygwin ssh-still no luck :-(
In-Reply-To: <20040327165946.31552.qmail@web13001.mail.yahoo.com>
References: <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040326101507 DOT 03f743a8 AT 127 DOT 0 DOT 0 DOT 1> <20040327165946 DOT 31552 DOT qmail AT web13001 DOT mail DOT yahoo DOT com>
Mime-Version: 1.0

My understanding is that this will work, though I've never 
tried it.  It limits the general usability of 'ssh' so it's 
not generally recommended either.  However, if this fits your
need, you may want to try it.

Larry


At 11:59 AM 3/27/2004, you wrote:
>Just a quick question... If i run sshd  as a specific
>user instead of the default SYSTEM, and log in using
>RSA as that user,will i still have similar problems?
>What do you think? 
>Thanks 
>--- Larry Hall <cygwin-lh AT cygwin DOT com> wrote:
>> Clearly this is an authentication issue.  'ssh' is
>> working 
>> fine.  The 'setup' program you're running is
>> obviously trying 
>> to access resources it can't get to without
>> authentication.  
>> You might try doing the same thing when you're
>> logged in through 
>> Windows to the desktop on the remote machine as the
>> same user.
>> If it works for this, then I'd say that's the
>> problem.  Typically, 
>> 'setup' programs want access to the registry, which
>> is protected.
>> You might find a suitable work-around for your needs
>> but I expect
>> you're bumping up against Windows security with this
>> particular
>> (non-Cygwin) program.
>> 
>> Larry
>> 
>> 
>> At 12:56 AM 3/26/2004, you wrote:
>> >Hi,
>> >Reading that part about network drives, I tried
>> >disconnecting all the remote drives from the
>> machine(
>> >Maybe the installer, while initilizing was checking
>> >out the system resources..??) but still no luck.
>> The
>> >setup still fails with error 67. But maybe there IS
>> >some issue with drive permissions..?? I set up sshd
>> to
>> >run in interactive mode so that i could use the
>> setup
>> >GUI instead of the standard silent install i was
>> >using...I noticed a strange thing here: The licence
>> >agreement which the setup displays (and i presume
>> it
>> >loads up the agreement text from a file ) was not
>> >displayed when logged in without password..simply
>> an
>> >empty box with the "i agree /disagree" options... .
>> >Again, logging in with password has no problems and
>> >setup displays the licence file correctly.. The
>> >install image is stored in the c:\cygwin\tmp
>> directory
>> >and the temporary files are stored in
>> c:\winnt\Temp. I
>> >don't see any visible need to access network drives
>> >here......I'm still confused :-( 
>> >--- Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> wrote:
>> >> On Thu, 25 Mar 2004, Bindaas Guy wrote:
>> >> 
>> >> > Hi,
>> >> > I'm new to this list...and Cygwin, so sorry if
>> >> this is
>> >> > an old problem...bit iguess there's no better
>> >> place to
>> >> > get cygwin answers than this list :-)
>> >> > Here's my problem-  I have 2 Win2K Adv Server
>> >> machine
>> >> > with NTFS drives running Cygwin. sshd is
>> running
>> >> on
>> >> > both.CYGWIN=ntsec. I have run ssh-keygen to
>> >> generate
>> >> > keys and have set up to be able to log in
>> without
>> >> > password... I CAN log in and run most programs
>> >> like
>> >> > cmd etc, but running a certain setup.exe fails
>> >> with
>> >> > $?=67....However if i use password
>> authentication
>> >> > instead of the keys for ssh, setup.exe runs
>> >> > successfully...Note however that both ways of
>> >> > authentication allow me to run other
>> >> programs...the
>> >> > user i use is part of "Administrators " and can
>> >> "log
>> >> > in as service" and "act as part of OS" on both
>> >> > machines... I then tried creating a local user
>> who
>> >> is
>> >> > only part of "Users" and tried running
>> setup.exe
>> >> from
>> >> > that id. It failed with error 67 again. This
>> leads
>> >> me
>> >> > to believe there is some problem with the RSA
>> >> > authentication????Here is what i did to set up
>> >> > password-less login - On one machine , i ran
>> >> > ssh-keygen -t rsa -P "". then copied id_rsa.pub
>> to
>> >> > authorized_keys and copied the 3 files to
>> ~/.ssh
>> >> > directory... Also copied ALL THREE files to
>> ~/.ssh
>> >> for
>> >> > same user on the other machine... Also,
>> >> > StrictHostKeyChecking is set to "no" in
>> >> ~/.ssh/config
>> >> > file.
>> >> > Thanks in advance for your help.
>> >> 
>> >> Does
>> >>
>>
>><http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-RELEASE1.3.3>
>> >> help
>> >> explain things?
>> >>   Igor
>> >> -- 
>> >>               http://cs.nyu.edu/~pechtcha/
>> >>       |\      _,,,---,,_      pechtcha AT cs DOT nyu DOT edu
>> >> ZZZzz /,`.-'`'    -.  ;-;;,_     
>> igor AT watson DOT ibm DOT com
>> >>      |,4-  ) )-,_. ,\ (  `'-'     Igor
>> Pechtchanski,
>> >> Ph.D.
>> >>     '---''(_/--'  `-'\_) fL   a.k.a
>> >> JaguaR-R-R-r-r-r-.-.-.  Meow!
>> >> 
>> >> "I have since come to realize that being between
>> >> your mentor and his route
>> >> to the bathroom is a major career booster."  --
>> >> Patrick Naughton
>> >
>> >
>> >__________________________________
>> >Do you Yahoo!?
>> >Yahoo! Finance Tax Center - File online. File on
>> time.
>> >http://taxes.yahoo.com/filing.html
>> >
>> >--
>> >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/ 
>> 
>
>
>__________________________________
>Do you Yahoo!?
>Yahoo! Finance Tax Center - File online. File on time.
>http://taxes.yahoo.com/filing.html
>
>--
>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/ 


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019