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 behaviour of Openssh (SOLVED)


I managed to establish the connection by setting the user that
launches the service in the administrators group. (as explained in
http://www.cygwin.com/ml/cygwin/2003-09/msg00977.html )

Thanks everyone  for your precious help.

     Chris

On 4/13/05, Christophe Sauthier <christophe.sauthier@gmail.com> wrote:
> Ok, thanks to that I have a clearer view of the problem : the server
> seems to have a setuid problem...
> 
> here is the last relevant lines of my log :
> 
> debug1: temporarily_use_uid 1003/513 (e=1005/513)
> seteuid 1003: Permission denied
> 
> Does anybody has got clue how to solve it ?
> 
> 
> On 4/12/05, Larry Hall <lh-no-personal-replies-please@cygwin.com> wrote:
> > At 11:55 AM 4/12/2005, you wrote:
> > >Hi,
> > >
> > >I encounter some strange stuff when I try to connect to openssh on my
> > >server (which is using cygwin) using openssh clients (using cygwin
> > >too).
> > >
> > >The connection is perfect when I have no public keys at all on the
> > >client side. But as soon as I get any key (dsa or rsa generated using
> > >ssh-keygen ) on the client side the connection can never been
> > >established and I receive the message "Read from the socket failed :
> > >Connection reset by peer". When I am debugging it in verbose mode, the
> > >log of client last lines are :
> > >
> > >debug3 : send_pubkey_test
> > >debug2 : we sent a publickey packet, wait for reply
> > >Read from the socket failed : Connection reset by peer
> > >
> > >
> > >I have absolutly nothing on the server log....
> >
> > Stop the server, add '-d -d -d' as flags to the server (by editing the registry, uninstalling the service and reinstalling with these flags, or
> > just installing a new debug service), restart it and try it again.  The
> > server will stop after this attempt but you will get information in the
> > log with debugging output.  That should help.
> >
> > --
> > Larry Hall                              http://www.rfk.com
> > RFK Partners, Inc.                      (508) 893-9779 - RFK Office
> > 838 Washington Street                   (508) 893-9889 - FAX
> > Holliston, MA 01746
> >
> >
> 
> --
> Ma vie              |
> Mes images      |  http://www.reponses.net
> Mon Wiki          |
> 


-- 
Ma vie              |  
Mes images      |  http://www.reponses.net
Mon Wiki          |

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