Re: Cygwin SSH Multiple Users

2009-06-09 Thread Larry Hall (Cygwin)

Holikar, Sachin (ext) wrote:

Thanks for the reply but problem is no other users are able to see the samba 
shares through cygwin or via ssh(df). Only the user with which sshd is started 
is able to see the samba share.
Hope I am clear this time.


Not entirely but enough that I can hazard a guess at what you see as a
problem, since it's been discussed to death on this list.  Fortunately
for you, you can get a summary by looking at the FAQ:



This link is for Cygwin 1.5.  If you're using the upcoming Cygwin 1.7
release, then you'll want to look at this link instead:



You have more options with 1.7 so if one of those will suit your needs
better than 1.5, that's a good reason to check it out.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

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



RE: Cygwin SSH Multiple Users

2009-06-09 Thread Holikar, Sachin (ext)

Thanks for the reply but problem is no other users are able to see the samba 
shares through cygwin or via ssh(df). Only the user with which sshd is started 
is able to see the samba share.
Hope I am clear this time.

Thanks,
Sac  

-Original Message-
From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of 
Huang Bambo
Sent: Dienstag, 9. Juni 2009 12:53
To: cygwin@cygwin.com
Subject: Re: Cygwin SSH Multiple Users

Everyone should mount by itself.

2009/6/9 Holikar, Sachin (ext) :
>
>
> Hi,
>
> After enough tries we were able to start the sshd in our environment and 
> local users are also able to login. But in comes the next problem.
> We have samba mounted a share onto this windows system. The user with which 
> we samba mounted the share , is able to see the shares in Cygwin. But other 
> users are not able to see the share when logged in through ssh and checked 
> with df. We expect to see this share by all the local users who are logged in 
> via SSH.
>
> Any suggestiosns are welcome please.
>
> Thanks,
> Sac
> -Original Message-
> From: Holikar, Sachin (ext)
> Sent: Freitag, 5. Juni 2009 09:09
> To: 'cygwin@cygwin.com'
> Subject: RE: Cygwin SSH Multiple Users
>
>
>
> Hello,
>
> We reinstalled WINXP and CYGWIN with another dumps. But still not able to 
> start the sshd service. Really frustrated as we followed exact steps given in 
> most of the internet help pages. So whats going wrong , is there any way to 
> find out what more is needed or so? Where can we have the sshd logs.
> One file we found is /var/log/sshd.log ...But its empty...
> Please suggest.
>
>
> Thanks,
> sac
>
> -Original Message-----
> From: Holikar, Sachin (ext)
> Sent: Donnerstag, 4. Juni 2009 08:14
> To: 'cygwin@cygwin.com'
> Subject: RE: Cygwin SSH Multiple Users
>
>
> Hello,
>
> Thanks for the info Corinna but ultimately we aint able to start the service 
> somehow. And only way to start is to start with the user mac using 
> /usr/sbin/sshd.
> But then no other user can connect via ssh to this machine. The work around 
> we provided was copiying the ssh public keys of the user say admin and then
> connecting from remote machine using ssh -l mac winxp and then admin gets the 
> ssh access as mac.
> But now the requirement is to be able to login as different users to this 
> machine and we are stuck up. Really confused what went wrong.
> Any hint will be much appreciated.
>
> Thanks,
> sac
>
> -Original Message-----
> From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of 
> Corinna Vinschen
> Sent: Mittwoch, 3. Juni 2009 17:53
> To: cygwin@cygwin.com
> Subject: Re: Cygwin SSH Multiple Users
>
> On Jun  3 11:11, Georg Nikodym wrote:
>> Also, "Win32 error 1062" doesn't tell anybody anything.  Paste more of
>> the session to provide some context.
>
> bash$ net helpmsg 1062
>
> The service has not been started.
>
>
> Corinna
>
> --
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Project Co-Leader          cygwin AT cygwin DOT com
> Red Hat
>
> --
> 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/
>
>

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



Re: Cygwin SSH Multiple Users

2009-06-09 Thread Huang Bambo
Everyone should mount by itself.

2009/6/9 Holikar, Sachin (ext) :
>
>
> Hi,
>
> After enough tries we were able to start the sshd in our environment and 
> local users are also able to login. But in comes the next problem.
> We have samba mounted a share onto this windows system. The user with which 
> we samba mounted the share , is able to see the shares in Cygwin. But other 
> users are not able to see the share when logged in through ssh and checked 
> with df. We expect to see this share by all the local users who are logged in 
> via SSH.
>
> Any suggestiosns are welcome please.
>
> Thanks,
> Sac
> -Original Message-
> From: Holikar, Sachin (ext)
> Sent: Freitag, 5. Juni 2009 09:09
> To: 'cygwin@cygwin.com'
> Subject: RE: Cygwin SSH Multiple Users
>
>
>
> Hello,
>
> We reinstalled WINXP and CYGWIN with another dumps. But still not able to 
> start the sshd service. Really frustrated as we followed exact steps given in 
> most of the internet help pages. So whats going wrong , is there any way to 
> find out what more is needed or so? Where can we have the sshd logs.
> One file we found is /var/log/sshd.log ...But its empty...
> Please suggest.
>
>
> Thanks,
> sac
>
> -Original Message-----
> From: Holikar, Sachin (ext)
> Sent: Donnerstag, 4. Juni 2009 08:14
> To: 'cygwin@cygwin.com'
> Subject: RE: Cygwin SSH Multiple Users
>
>
> Hello,
>
> Thanks for the info Corinna but ultimately we aint able to start the service 
> somehow. And only way to start is to start with the user mac using 
> /usr/sbin/sshd.
> But then no other user can connect via ssh to this machine. The work around 
> we provided was copiying the ssh public keys of the user say admin and then
> connecting from remote machine using ssh -l mac winxp and then admin gets the 
> ssh access as mac.
> But now the requirement is to be able to login as different users to this 
> machine and we are stuck up. Really confused what went wrong.
> Any hint will be much appreciated.
>
> Thanks,
> sac
>
> -Original Message-----
> From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of 
> Corinna Vinschen
> Sent: Mittwoch, 3. Juni 2009 17:53
> To: cygwin@cygwin.com
> Subject: Re: Cygwin SSH Multiple Users
>
> On Jun  3 11:11, Georg Nikodym wrote:
>> Also, "Win32 error 1062" doesn't tell anybody anything.  Paste more of
>> the session to provide some context.
>
> bash$ net helpmsg 1062
>
> The service has not been started.
>
>
> Corinna
>
> --
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Project Co-Leader          cygwin AT cygwin DOT com
> Red Hat
>
> --
> 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/
>
>

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



RE: Cygwin SSH Multiple Users

2009-06-09 Thread Holikar, Sachin (ext)
 

Hi,

After enough tries we were able to start the sshd in our environment and local 
users are also able to login. But in comes the next problem.
We have samba mounted a share onto this windows system. The user with which we 
samba mounted the share , is able to see the shares in Cygwin. But other users 
are not able to see the share when logged in through ssh and checked with df. 
We expect to see this share by all the local users who are logged in via SSH.

Any suggestiosns are welcome please.

Thanks,
Sac 
-Original Message-
From: Holikar, Sachin (ext) 
Sent: Freitag, 5. Juni 2009 09:09
To: 'cygwin@cygwin.com'
Subject: RE: Cygwin SSH Multiple Users



Hello,

We reinstalled WINXP and CYGWIN with another dumps. But still not able to start 
the sshd service. Really frustrated as we followed exact steps given in most of 
the internet help pages. So whats going wrong , is there any way to find out 
what more is needed or so? Where can we have the sshd logs.
One file we found is /var/log/sshd.log ...But its empty...
Please suggest.


Thanks,
sac 

-Original Message-
From: Holikar, Sachin (ext) 
Sent: Donnerstag, 4. Juni 2009 08:14
To: 'cygwin@cygwin.com'
Subject: RE: Cygwin SSH Multiple Users


Hello,

Thanks for the info Corinna but ultimately we aint able to start the service 
somehow. And only way to start is to start with the user mac using 
/usr/sbin/sshd.
But then no other user can connect via ssh to this machine. The work around we 
provided was copiying the ssh public keys of the user say admin and then
connecting from remote machine using ssh -l mac winxp and then admin gets the 
ssh access as mac. 
But now the requirement is to be able to login as different users to this 
machine and we are stuck up. Really confused what went wrong.
Any hint will be much appreciated.

Thanks,
sac 

-Original Message-
From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of 
Corinna Vinschen
Sent: Mittwoch, 3. Juni 2009 17:53
To: cygwin@cygwin.com
Subject: Re: Cygwin SSH Multiple Users

On Jun  3 11:11, Georg Nikodym wrote:
> Also, "Win32 error 1062" doesn't tell anybody anything.  Paste more of  
> the session to provide some context.

bash$ net helpmsg 1062

The service has not been started.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

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



Re: Cygwin SSH Multiple Users

2009-06-05 Thread Larry Hall (Cygwin)

.  Reformatted.

Huang Bambo wrote:

2009/6/5 Holikar, Sachin (ext)  holikar  ext  siemens  
com>:

  ^->

Thanks.



Hello,

We reinstalled WINXP and CYGWIN with another dumps. But still not able
to  start the sshd service. Really frustrated as we followed exact steps given
in most of the internet help pages. So whats going wrong , is there any way
to find out what more is needed or so? Where can we have the sshd logs.
One file we found is /var/log/sshd.log ...But its empty...
Please suggest.

> use command
> /usr/sbin/sshd
> to try start first

This seems to be a favorite thing to suggest/try lately.  I suppose
because it's a common debugging option on most Unix/Linux distributions.
But on Cygwin, just suggesting the above and leaving the rest to the
otherwise uninitiated is like helping someone out of a hole by handing
them a shovel and telling them too dig.  If you ever plan to run 'sshd'
as a service (as configuring using 'ssh-host-config' will do for you),
this will only work if you do the above as the user that will run the
service.  On XP, that's SYSTEM.  So you need to start a SYSTEM-owned
shell using AT before the above isn't just a recipe for more headaches.
See the email archives for details if you're not sure how to start a
SYSTEM-owned shell.  Or just stop and ask yourself why you need to know
how to do this (beyond intellectual curiousity of course! ;-) )  And of
course if you're starting 'sshd' using any configuration other than
the 'ssh-host-config' script, then you should really know what you're
doing, as I outlined in my response from yesterday:



Since the OP is having difficulties with 'sshd' on Cygwin and is asking
for help here, I would surmise that he falls into the category of
the uninitiated in this instance.  So, my recommendations are to:

  1. Look at 'ssh-host-config' and note all the directories that it
 does "chown" on.
  2. Run 'ssh-host-config' to configure 'sshd'.  Take the defaults unless
 you have a very good reason not to.
  3. Check after the script completes that the ownerships of the directories
 found in (1) above are as 'ssh-host-config' set them.  On XP systems,
 the "$(run_service_as}" user is SYSTEM.

Following random guides found on the Internet to configure Cygwin's 'sshd'
is not supported by this list.  Reading the openssh readme in
'/usr/share/doc/Cygwin' is only supported documentation.  If you prefer to
use another source for your configuration information, please avail yourself
of any support/help from the site where you got this information.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

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



Re: Cygwin SSH Multiple Users

2009-06-05 Thread Huang Bambo
use command
/usr/sbin/sshd
to try start first
And which cygwin version you use?

2009/6/5 Holikar, Sachin (ext) :
>
>
> Hello,
>
> We reinstalled WINXP and CYGWIN with another dumps. But still not able to 
> start the sshd service. Really frustrated as we followed exact steps given in 
> most of the internet help pages. So whats going wrong , is there any way to 
> find out what more is needed or so? Where can we have the sshd logs.
> One file we found is /var/log/sshd.log ...But its empty...
> Please suggest.
>
>
> Thanks,
> sac
>
> -Original Message-
> From: Holikar, Sachin (ext)
> Sent: Donnerstag, 4. Juni 2009 08:14
> To: 'cygwin@cygwin.com'
> Subject: RE: Cygwin SSH Multiple Users
>
>
> Hello,
>
> Thanks for the info Corinna but ultimately we aint able to start the service 
> somehow. And only way to start is to start with the user mac using 
> /usr/sbin/sshd.
> But then no other user can connect via ssh to this machine. The work around 
> we provided was copiying the ssh public keys of the user say admin and then
> connecting from remote machine using ssh -l mac winxp and then admin gets the 
> ssh access as mac.
> But now the requirement is to be able to login as different users to this 
> machine and we are stuck up. Really confused what went wrong.
> Any hint will be much appreciated.
>
> Thanks,
> sac
>
> -Original Message-
> From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of 
> Corinna Vinschen
> Sent: Mittwoch, 3. Juni 2009 17:53
> To: cygwin@cygwin.com
> Subject: Re: Cygwin SSH Multiple Users
>
> On Jun  3 11:11, Georg Nikodym wrote:
>> Also, "Win32 error 1062" doesn't tell anybody anything.  Paste more of
>> the session to provide some context.
>
> bash$ net helpmsg 1062
>
> The service has not been started.
>
>
> Corinna
>
> --
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Project Co-Leader          cygwin AT cygwin DOT com
> Red Hat
>
> --
> 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/
>
>

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



RE: Cygwin SSH Multiple Users

2009-06-05 Thread Holikar, Sachin (ext)


Hello,

We reinstalled WINXP and CYGWIN with another dumps. But still not able to start 
the sshd service. Really frustrated as we followed exact steps given in most of 
the internet help pages. So whats going wrong , is there any way to find out 
what more is needed or so? Where can we have the sshd logs.
One file we found is /var/log/sshd.log ...But its empty...
Please suggest.


Thanks,
sac 

-Original Message-
From: Holikar, Sachin (ext) 
Sent: Donnerstag, 4. Juni 2009 08:14
To: 'cygwin@cygwin.com'
Subject: RE: Cygwin SSH Multiple Users


Hello,

Thanks for the info Corinna but ultimately we aint able to start the service 
somehow. And only way to start is to start with the user mac using 
/usr/sbin/sshd.
But then no other user can connect via ssh to this machine. The work around we 
provided was copiying the ssh public keys of the user say admin and then
connecting from remote machine using ssh -l mac winxp and then admin gets the 
ssh access as mac. 
But now the requirement is to be able to login as different users to this 
machine and we are stuck up. Really confused what went wrong.
Any hint will be much appreciated.

Thanks,
sac 

-Original Message-
From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of 
Corinna Vinschen
Sent: Mittwoch, 3. Juni 2009 17:53
To: cygwin@cygwin.com
Subject: Re: Cygwin SSH Multiple Users

On Jun  3 11:11, Georg Nikodym wrote:
> Also, "Win32 error 1062" doesn't tell anybody anything.  Paste more of  
> the session to provide some context.

bash$ net helpmsg 1062

The service has not been started.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

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



Re: Cygwin SSH Multiple Users

2009-06-04 Thread Larry Hall (Cygwin)

Holikar, Sachin (ext) wrote:

Hello,

Thanks for the info Corinna but ultimately we aint able to start the service 
somehow. And only way to start is to start with the user mac using 
/usr/sbin/sshd.
But then no other user can connect via ssh to this machine. The work around we 
provided was copiying the ssh public keys of the user say admin and then
connecting from remote machine using ssh -l mac winxp and then admin gets the ssh access as mac. 
But now the requirement is to be able to login as different users to this machine and we are stuck up. Really confused what went wrong.

Any hint will be much appreciated.


Once you've started "sshd.exe" from the command line as come non-privileged
user (and this includes the Administrator account or members of that group
in this context), you won't be able to start "sshd.exe" as another user
(even as "SYSTEM" on XP) without changing the ownership of many files
that "sshd.exe" uses/needs.  See the email archives and/or the contents of
'ssh-host-config' for details.  Also, it is quite expected that "sshd.exe"
running as a non-privileged user cannot switch users with public key
authentication.  That's why "ssh-host-config" sets up "sshd.exe" to run
under the privileged "SYSTEM" account on XP.  If you don't want to do this
for some reason, you should read the openssh readme in
'/usr/share/doc/Cygwin' for the required privileges of the user running
"sshd.exe" that would permit this.  Of course, doing this really puts you
in the realm of "you know what you're doing" so you may not get allot of
willing responses from queries to this list with problems you have if you
go this route. ;-)

Good luck,

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

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



RE: Cygwin SSH Multiple Users

2009-06-03 Thread Holikar, Sachin (ext)

Hello,

Thanks for the info Corinna but ultimately we aint able to start the service 
somehow. And only way to start is to start with the user mac using 
/usr/sbin/sshd.
But then no other user can connect via ssh to this machine. The work around we 
provided was copiying the ssh public keys of the user say admin and then
connecting from remote machine using ssh -l mac winxp and then admin gets the 
ssh access as mac. 
But now the requirement is to be able to login as different users to this 
machine and we are stuck up. Really confused what went wrong.
Any hint will be much appreciated.

Thanks,
sac 

-Original Message-
From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of 
Corinna Vinschen
Sent: Mittwoch, 3. Juni 2009 17:53
To: cygwin@cygwin.com
Subject: Re: Cygwin SSH Multiple Users

On Jun  3 11:11, Georg Nikodym wrote:
> Also, "Win32 error 1062" doesn't tell anybody anything.  Paste more of  
> the session to provide some context.

bash$ net helpmsg 1062

The service has not been started.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

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



Re: Cygwin SSH Multiple Users

2009-06-03 Thread Georg Nikodym


On 3-Jun-09, at 11:52 AM, Corinna Vinschen wrote:


On Jun  3 11:11, Georg Nikodym wrote:
Also, "Win32 error 1062" doesn't tell anybody anything.  Paste more  
of

the session to provide some context.


bash$ net helpmsg 1062

The service has not been started.


Awesome!  Old dog, new tricks.

-g


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



Re: Cygwin SSH Multiple Users

2009-06-03 Thread Corinna Vinschen
On Jun  3 11:11, Georg Nikodym wrote:
> Also, "Win32 error 1062" doesn't tell anybody anything.  Paste more of  
> the session to provide some context.

bash$ net helpmsg 1062

The service has not been started.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

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



Re: Cygwin SSH Multiple Users

2009-06-03 Thread Georg Nikodym


On 3-Jun-09, at 10:10 AM, Holikar, Sachin (ext) wrote:



Hello,

Thanks for the reply. We did play around a lot with ssh-host-config  
but it used to give errors such that,

Win32 error 1062 .

Kindly suggest.


To be honest, I don't know.

I run ssh-host-config, say yes to privilege separation, give it the  
cyg_server password when asked (I previously ran cygserver-config).


Then I:

cygrunsrv -S sshd

 If I have a problem (like I forgot the cyg_server password), I'll  
cygrunsrv -R sshd and start again.


Also, "Win32 error 1062" doesn't tell anybody anything.  Paste more of  
the session to provide some context.


-g


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



RE: Cygwin SSH Multiple Users

2009-06-03 Thread Holikar, Sachin (ext)

Hello,

Thanks for the reply. We did play around a lot with ssh-host-config but it used 
to give errors such that,
 Win32 error 1062 . 

Kindly suggest.


- Sac 

-Original Message-
From: Georg Nikodym [mailto:geo...@bitmover.com] 
Sent: Mittwoch, 3. Juni 2009 14:43
To: Holikar, Sachin (ext)
Cc: cygwin@cygwin.com
Subject: Re: Cygwin SSH Multiple Users


On 3-Jun-09, at 4:13 AM, Holikar, Sachin (ext) wrote:

>
> Hello,
>
> We have configured Cygwin on Windows XP. SOmehow we managed to  
> configure the SSH onto cygwin for a user called "mac". We could  
> login to windows XP with the local user name mac and then start the
> cygwin. And then /usr/sbin/sshd. Its the only way currently how we  
> get to start the sshd daemon. And we could connect from remote  
> system to this XP system using  "ssh -l mac winxp".
> But now the problem is we can not make other users login to this  
> winxp host. Here are few of the details help you understand the  
> environment,

Consider running the ssh-host-config script.

-g


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



Re: Cygwin SSH Multiple Users

2009-06-03 Thread Georg Nikodym


On 3-Jun-09, at 4:13 AM, Holikar, Sachin (ext) wrote:



Hello,

We have configured Cygwin on Windows XP. SOmehow we managed to  
configure the SSH onto cygwin for a user called "mac". We could  
login to windows XP with the local user name mac and then start the
cygwin. And then /usr/sbin/sshd. Its the only way currently how we  
get to start the sshd daemon. And we could connect from remote  
system to this XP system using  "ssh -l mac winxp".
But now the problem is we can not make other users login to this  
winxp host. Here are few of the details help you understand the  
environment,


Consider running the ssh-host-config script.

-g


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



RE: Cygwin SSH Multiple Users

2009-06-03 Thread Holikar, Sachin (ext)
 
Hello,
 
We have configured Cygwin on Windows XP. SOmehow we managed to configure the 
SSH onto cygwin for a user called "mac". We could login to windows XP with the 
local user name mac and then start the
cygwin. And then /usr/sbin/sshd. Its the only way currently how we get to start 
the sshd daemon. And we could connect from remote system to this XP system 
using  "ssh -l mac winxp".
But now the problem is we can not make other users login to this winxp host. 
Here are few of the details help you understand the environment,
 
$ ls -l /etc/ssh*
-rwxr-x--- 1 mac Kein 1482 Mar 23 13:47 /etc/ssh_config
-rw--- 1 mac Kein  668 Mar 23 13:47 /etc/ssh_host_dsa_key
-rw-r--r-- 1 mac Kein  603 Mar 23 13:47 /etc/ssh_host_dsa_key.pub
-rw--- 1 mac Kein  976 Mar 23 13:47 /etc/ssh_host_key
-rw-r--r-- 1 mac Kein  640 Mar 23 13:47 /etc/ssh_host_key.pub
-rw--- 1 mac Kein 1671 Mar 23 13:47 /etc/ssh_host_rsa_key
-rw-r--r-- 1 mac Kein  395 Mar 23 13:47 /etc/ssh_host_rsa_key.pub
-rw-r--r-- 1 mac Kein 3258 Mar 23 13:48 /etc/sshd_config
 

$ ls -ld /var/empty/
drwxr-xr-x+ 2 mac Kein 0 Mar 23 13:47 /var/empty/

Please let us know if you need anymore information. Kindly suggest or point us 
in right direction.
 
 

Thanks and Regards,

Sac


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