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: Strange problem wiith Cygwin ssh-still no luck :-(


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@cygwin.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@cs.nyu.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@cs.nyu.edu
>> >> ZZZzz /,`.-'`'    -.  ;-;;,_     
>> igor@watson.ibm.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/


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