Re: sshd, plink, bash and path problems

2004-05-05 Thread Larry Hall
At 09:56 PM 5/5/2004, you wrote: >I'm not subscribed to the list. Kindly CC: me in any threads that result from this >email. Thanks. > >Here's my setup: > >Client: Win2K box with Putty/Plink >Server: Win2K professional with cygwin/sshd (actually copssh, but it's just a minimal >cygwin install)

Re: sshd on WinXP machine in Win2003 Domain -- can't log in

2004-03-30 Thread Mike Hanby
Problem solved, w00t Here's the odd thing, I had set the appropriate policies on the domain controller (or at least I thought I had), however when I ran: secpol.msc on my XP system (the machine that I want to SSH into), only "Log on as Service" policy was propogated from the domain controller. So

Re: sshd on WinXP machine in Win2003 Domain -- can't log in

2004-03-26 Thread Yuen Wing Seung
I also got the same problem. but I am work for the Adminstrator. which is a local user. Others Domain users got the Permission Denied after checking the password. All others Domain Users can open the CYGWIN bash shell properly on the Window console, however ssh to the server is not work. MIke Hanby

RE: sshd authentication question

2004-03-25 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Matt Berney > Sent: 24 March 2004 21:41 > To follow up on this thread, I have added the 'Domain > Administrator' to the local 'Administrators' group and the > original problem with the ssh session not having 'admin > privileges', w

Re: sshd authentication question

2004-03-24 Thread Pierre A. Humblet
7;s comments. They were helpful. > > Matt Berney > Software QA Engineer > PolyServe, Inc. > > > -Original Message- > From: Matt Berney [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 18, 2004 4:39 PM > To: Pierre A. Humblet; [EMAIL PROTECTED] > Cc: Matt

RE: sshd authentication question

2004-03-24 Thread Matt Berney
helpful. Matt Berney Software QA Engineer PolyServe, Inc. -Original Message- From: Matt Berney [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 4:39 PM To: Pierre A. Humblet; [EMAIL PROTECTED] Cc: Matt Berney Subject: RE: sshd authentication question Interesting hypothesis. Th

Re: sshd debugging

2004-03-23 Thread Igor Pechtchanski
On Tue, 23 Mar 2004, David Corbin wrote: > On Tuesday 23 March 2004 07:26, Corinna Vinschen wrote: > > On Mar 23 07:16, David Corbin wrote: > > > I have sshd up and running as a service. I can ssh into the box if I > > > type a password, but I do have a public-key/private-key installed that it >

Re: sshd debugging

2004-03-23 Thread David Corbin
On Tuesday 23 March 2004 07:26, Corinna Vinschen wrote: > On Mar 23 07:16, David Corbin wrote: > > I have sshd up and running as a service. I can ssh into the box if I > > type a password, but I do have a public-key/private-key installed that it > > doesn't seem to recognize. (If you want to reco

Re: sshd as a substitute for the suid bit on executables...

2004-03-23 Thread Richard Troy
On Tue, 23 Mar 2004, Corinna Vinschen wrote: > On Mar 23 08:22, Richard Troy wrote: > > One additional challenge that has just occurred to me in my particular > > scenario is that in ordinary useage on Unix, my program that runs under > > the suid bit eventually launches a Java program that crea

Re: sshd as a substitute for the suid bit on executables...

2004-03-23 Thread Corinna Vinschen
On Mar 23 08:22, Richard Troy wrote: > One additional challenge that has just occurred to me in my particular > scenario is that in ordinary useage on Unix, my program that runs under > the suid bit eventually launches a Java program that creates display > windows and attaches to the keyboard/mouse

RE: sshd debugging

2004-03-23 Thread Morche Matthias
My advice is to setup the daemon like cygrunsrv ... -a -ddd, this will turn on the debugging and You will see the results either in /var/log/sshd.log or within the Eventviewer. >From what you tell, I would judge that some permissions of the affected user are >wrong. Check the home dir, rwxr-x

Re: sshd debugging

2004-03-23 Thread Corinna Vinschen
On Mar 23 07:16, David Corbin wrote: > I have sshd up and running as a service. I can ssh into the box if I type a > password, but I do have a public-key/private-key installed that it doesn't > seem to recognize. (If you want to recommend a solution to this problem, > please do - it's the real

Re: sshd on WinXP machine in Win2003 Domain -- can't log in

2004-03-22 Thread MIke Hanby
Hmm, didn't even notice that, here's the output of $ getfacl /bin/bash # file: /bin/bash # owner: joeshmo # group: Users user::rwx user:sshdproc:rwx group::r-x group:root:rwx group:SYSTEM:rwx mask:rwx other:r-x "Hannu E K Nevalainen" <[EMAIL PROTECTED]> wro

RE: sshd on WinXP machine in Win2003 Domain -- can't log in

2004-03-22 Thread Hannu E K Nevalainen
> From: MIke Hanby > Hey y'all, (sorry if this double posts) > > System: Windows XP Pro with brand new install of cygwin running > sshd. This > system is a member > of a Widnows 2003 Active Directory domain. > > Problem: I've gone through the config steps listed below and unable

Re: sshd problems

2004-03-22 Thread Philippe Ciaravola
Thanks for the reply. Actually, I have CYGWIN set to "binmode ntea". Also, the command is native to windows and works perfectly with the 3 arguments (even if I pass bogus arguments) and thus I do not think it has to do with authentication of the user. Phil On Mar 22, 2004, at 12:05 PM, Larry

Re: sshd problems

2004-03-22 Thread Larry Hall
At 10:24 AM 3/22/2004, you wrote: >Hello, > >I am new to this list, so I apologies if this issue has been addressed before. > >I just installed cygwin 1.5.9.1 on a windows 2000 machine. Setup sshd with keys (for >logon without passwords) as a service. Everything _appears_ to work correctly: I ca

Re: sshd on WinXP machine in Win2003 Domain -- can't log in

2004-03-22 Thread Corinna Vinschen
On Mar 21 18:19, MIke Hanby wrote: > Hey y'all, (sorry if this double posts) > > System: Windows XP Pro with brand new install of cygwin running sshd. This > system is a member > of a Widnows 2003 Active Directory domain. > > Problem: I've gone through the config steps listed belo

Re: sshd on WinXP machine in Win2003 Domain -- can't log in

2004-03-21 Thread MIke Hanby
crum, nope, can't maintane the connection with a local user either. I get the same Permission Denied after logging in. All of this worked before I joined this machine to the Windows 2003 Active Directory domain, so it's got to be related, but beyond setting those Local Policies on the Domain contr

Re: sshd on WinXP machine in Win2003 Domain -- can't log in

2004-03-21 Thread Igor Pechtchanski
Hmm, really weird... I'm officially out of ideas. Does it work if you try to log in as a local user (i.e., not a domain one)? As for /dev, see . HTH, Igor On Sun, 21 Mar 2004, MIke Hanby wrote: > stupid Symantec products, thanks for po

Re: sshd on WinXP machine in Win2003 Domain -- can't log in

2004-03-21 Thread MIke Hanby
stupid Symantec products, thanks for pointing that out my home directory is physically located in: C:\Documents and Settings\joeshmo.WIN2003DOMAIN I've created a link for /home to point to /cygdrive/c/Docume~1 lrwxrwxrwx1 1110710513 111 Mar 20 15:59 /home -> /cygdrive/c/Docume~1

Re: sshd on WinXP machine in Win2003 Domain -- can't log in

2004-03-21 Thread Igor Pechtchanski
Mike, Thanks. First off (unrelated, but annoying): Norton Ghost screwed up your path -- you should remove the quotes around "C:\Program Files\Symantec\Norton Ghost 2003\" in the PATH variable. Other than that, everything in your cygcheck output seems in order. The only other thing I can think of

Re: sshd on WinXP machine in Win2003 Domain -- can't log in

2004-03-21 Thread Igor Pechtchanski
On Sun, 21 Mar 2004, MIke Hanby wrote: > Hey y'all, (sorry if this double posts) > > System: Windows XP Pro with brand new install of cygwin running sshd. This > system is a member > of a Widnows 2003 Active Directory domain. > > Problem: I've gone through the config steps listed b

Re: sshd authentication question

2004-03-18 Thread Igor Pechtchanski
On Thu, 18 Mar 2004, Matt Berney wrote: > Hmm...ok. I understand. I will create an 'strace_sshd' service on the > server side and try this. > [snip] Before you invest all the effort, look at Pierre's responses. > [off topic] > BTW, how do I reply to this posting on the cygwin mailing list such

Re: sshd authentication question

2004-03-18 Thread Pierre A. Humblet
On Thu, Mar 18, 2004 at 02:24:25PM -0500, Pierre A. Humblet wrote: > > Here is another hypothesis. Cygwin gets the groups from a variety of > sources during setuid(). One of them is a call to NetUserGetGroups > to get the global groups from the logon server. > Failure of that call does not call a

Re: sshd authentication question

2004-03-18 Thread Matt Berney
Hmm...ok. I understand. I will create an 'strace_sshd' service on the server side and try this. To answer your other questions: > Another step you can try first: There's a small chance that an > Event Log entry has been created when the problem happens. > I can't tell you how that might look l

Re: sshd authentication question

2004-03-18 Thread Pierre A. Humblet
On Thu, Mar 18, 2004 at 07:43:44PM +0100, Corinna Vinschen wrote: > On Mar 18 10:29, Matt Berney wrote: > > Thanks, I suspect that it is something in our environment that is causing this. > > Specifically, how do I use the strace tool in this context? Can I substitute the > > 'ssh' command with

Re: sshd authentication question

2004-03-18 Thread Corinna Vinschen
On Mar 18 10:29, Matt Berney wrote: > Thanks, I suspect that it is something in our environment that is causing this. > Specifically, how do I use the strace tool in this context? Can I substitute the > 'ssh' command with 'strace ssh' command? Ooh, no. The interesting part happens on the serv

Re: sshd authentication question

2004-03-18 Thread Matt Berney
Thanks, I suspect that it is something in our environment that is causing this. Specifically, how do I use the strace tool in this context? Can I substitute the 'ssh' command with 'strace ssh' command? Thanks, Matt On Mar 15 09:50, Matt Berney wrote: > Over time, we continue to experience

Re: sshd authentication question

2004-03-18 Thread Corinna Vinschen
On Mar 15 09:50, Matt Berney wrote: > Over time, we continue to experience intermittent sshd authentication problems in > our environment. Every so often (~ 1.5% of the time, but enough to cause our > automated tests to fail), admin privileges are not granted. Perhaps there is some > setting i

Re: SSHD working only once...

2004-03-18 Thread Thorsten Kampe
* Carlos Moffat (2004-03-18 17:02 +0100) > I have cygwin (latest distibution) running on Win XP pro. I have > installed SSHD using: > > ssh-host-config -y > > and > > CYGWIN=tty ntsec > > Now, I can ssh to my machine successfully once, but the second time it > just hangs there without ever ge

Re: sshd vs. lftp

2004-03-10 Thread Chris Herborth
Mark Blackburn wrote: I tried to replicate but I didn't see the same problems. I'm using lftp fish://[EMAIL PROTECTED] though since I don't have acces to another machine running cygwin. The only difference between my working system at home (besides slightly older versions of sshd and lftp) is the

Re: sshd vs. lftp

2004-03-05 Thread Mark Blackburn
Chris Herborth wrote: I've noticed some odd behaviour with the current sshd and lftp; "everything" is current (OpenSSH 3.8p1-1, lftp 2.6.10-2) and "working" (ssh and sftp work fine, lftp to other sites works fine). When I lftp to this box, tab completion doesn't work, and the "mirror" command

Re: sshd in cygwin

2004-02-12 Thread Igor Pechtchanski
On Thu, 12 Feb 2004, Rachan Malhotra wrote: > Hi, > > I'm not sure whether this is the right place to ask this question. My > apologies if I am intruding into your mailbox. > > After starting sshd in cygwin on my winXP machine, do I need to setup > user accounts? I am unable to ssh into my windows

Re: sshd problems

2004-01-22 Thread Steven Hartland
Check that both your passwd and group files are up to date and also check and double check the permissions of the sshd config user keys and user home dir / login files. The checks should include ensuring that SYSTEM has access. We had loads of issues all which gave a similar error all which turned

Re: sshd on alternate port doesn't seem to work

2004-01-15 Thread Thorsten Kampe
* Mark Himsley (2004-01-15 00:53 +0100) > On 15 January 2004 00:05 +0100 Thorsten Kampe wrote: >> * Mooky Mooksgill (2004-01-14 20:07 +0100) >>> i add the Port to the ssh_config file, sshd restarts, but refuses >>> connections. >> >> Yes, of course: man ssh_config - the first sentence. > > Tr

Re: sshd on alternate port doesn't seem to work

2004-01-14 Thread Mooky Mooksgill
thanks mark - that's quite correct. doh! -M From: Mark Himsley <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: sshd on alternate port doesn't seem to work Date: Wed, 14 Jan 2004 23:53:50 + On 15 January 2004 00:05 +0100 Thorsten Kampe wrote: * Mooky Mooksgill (2004-0

Re: sshd on alternate port doesn't seem to work

2004-01-14 Thread Mark Himsley
On 15 January 2004 00:05 +0100 Thorsten Kampe wrote: * Mooky Mooksgill (2004-01-14 20:07 +0100) > i add the Port to the ssh_config file, sshd restarts, but refuses > connections. Yes, of course: man ssh_config - the first sentence. Try sshd_config since it is, after all, the daemon that you w

Re: sshd on alternate port doesn't seem to work

2004-01-14 Thread Thorsten Kampe
* Mooky Mooksgill (2004-01-14 20:07 +0100) > i add the Port to the ssh_config file, sshd restarts, but refuses > connections. Yes, of course: man ssh_config - the first sentence. > i have debugged this for a while, can someone verify that sshd on > non-standard does (or does not work)? Su

RE: mouse: (was Re: sshd and cat)

2003-10-19 Thread Hannu E K Nevalainen
> From: Suresh Venkatasubramanian > Sent: Sunday, October 19, 2003 3:40 PM > On Sun, 19 Oct 2003, Thorsten Kampe wrote: > > > * Asif Iqbal (2003-10-19 01:45 +0200) > > > The third thing I just noticed I can't copy using my mouse. > > > > Yes, you can. If you are using the windows console you can e

mouse: (was Re: sshd and cat)

2003-10-19 Thread Suresh Venkatasubramanian
On Sun, 19 Oct 2003, Thorsten Kampe wrote: > * Asif Iqbal (2003-10-19 01:45 +0200) > > The third thing I just noticed I can't copy using my mouse. > > Yes, you can. If you are using the windows console you can enable this > in the properties dialog and if you are using rxvt you just have to > sel

Re: sshd and cat

2003-10-19 Thread Thorsten Kampe
* Asif Iqbal (2003-10-19 01:45 +0200) > Today is the first time I am using cygwin in my XP. You've just discovered the real thing. Improve your experience by reading the FAQ and the User's Guide. > I am trying to run cat and it says command not found Well, these dumb computers. This could mean t

Re: sshd only allows connection to local accounts

2003-10-16 Thread Fred Ma
> Subject: Re: sshd only allows connection to local accounts > Date: Wed, 15 Oct 2003 11:08:42 -0400 > From: Larry Hall <[EMAIL PROTECTED]> > > At 06:22 AM 10/15/2003, Corinna Vinschen you wrote: > >On Wed, Oct 15, 2003 at 05:08:47AM -0400, Fred Ma wrote: > >

Re: sshd

2003-10-15 Thread Larry Hall
At 10:26 AM 10/15/2003, e-bone you wrote: >Anyone have any idea why I might be getting the following error when >trying to start up the sshd: > >The procedure entry point __getreent could not be located in the dynamic >link library cygwin1.dll > >I don't think this is a permissions problem. > >It s

Re: sshd only allows connection to local accounts

2003-10-15 Thread Larry Hall
At 06:22 AM 10/15/2003, Corinna Vinschen you wrote: >On Wed, Oct 15, 2003 at 05:08:47AM -0400, Fred Ma wrote: >> Hello, >> >> I followed the procedure of setting up sshd: >> http://pigtail.net/LRP/printsrv/cygwin-sshd.html >> >> I launch the sshd with an account that is part of >> the administrat

Re: sshd only allows connection to local accounts

2003-10-15 Thread Corinna Vinschen
On Wed, Oct 15, 2003 at 05:08:47AM -0400, Fred Ma wrote: > Hello, > > I followed the procedure of setting up sshd: > http://pigtail.net/LRP/printsrv/cygwin-sshd.html > > I launch the sshd with an account that is part of > the administrator group (WinXP). One peculiarity > about this account is t

Re: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-23 Thread Chris Rodgers
> On Tue, Sep 23, 2003 at 09:24:45AM -0400, Igor Pechtchanski wrote: > > Also error codes on failure, and the ability to check whether a user has > > certain rights (without using grep). If we decide to adopt it as a > > package, could we have a CVS repository for it under cygwin-apps (like for >

RE: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-23 Thread Hannu E K Nevalainen \(garbage mail\)
> From: Igor Pechtchanski > > Setting up a CVS repository would be simple. > > > > Corinna > > Umm, yes, this was mostly a (disguised, I guess) question for Chris on > whether he wants to tie his program to Cygwin or release it independently. > Igor Hmm... WAG: Chris is feeling the pressur

Re: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-23 Thread Igor Pechtchanski
On Tue, 23 Sep 2003, Corinna Vinschen wrote: > On Tue, Sep 23, 2003 at 09:24:45AM -0400, Igor Pechtchanski wrote: > > Also error codes on failure, and the ability to check whether a user has > > certain rights (without using grep). If we decide to adopt it as a > > package, could we have a CVS re

Re: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-23 Thread Corinna Vinschen
On Tue, Sep 23, 2003 at 09:24:45AM -0400, Igor Pechtchanski wrote: > Also error codes on failure, and the ability to check whether a user has > certain rights (without using grep). If we decide to adopt it as a > package, could we have a CVS repository for it under cygwin-apps (like for > cygrunsr

Re: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-23 Thread Igor Pechtchanski
On Tue, 23 Sep 2003, Corinna Vinschen wrote: > On Mon, Sep 22, 2003 at 09:43:45PM +0100, Chris Rodgers wrote: > > OK. I've had a crack at this. The packages can be found at: > > http://rodgers.org.uk/editrights/ > > and are released under a BSD-style licence. > > Would you mind to send an ITP mess

Re: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-23 Thread Corinna Vinschen
On Mon, Sep 22, 2003 at 09:43:45PM +0100, Chris Rodgers wrote: > OK. I've had a crack at this. The packages can be found at: > http://rodgers.org.uk/editrights/ > and are released under a BSD-style licence. Would you mind to send an ITP message to [EMAIL PROTECTED] as described under http://cygwin

Re: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-22 Thread Chris Rodgers
> Cool! How you can contribute it depends on the licensing and how much > work you are willing to invest. Do you want to put it under some GPL or > BSD license? Or do you want to keep everything together as it is? > Then create a package as described under http://cygwin.com/setup.html ... > Even

Re: SSHD, Cygwin and Windows 2003 : continued with user rights

2003-09-18 Thread Karl M
PROTECTED]> Subject: Re: SSHD, Cygwin and Windows 2003 : continued with user rights Date: Thu, 18 Sep 2003 01:22:48 +0200 Larry Hall wrote: Hm, I thought I was clear. Let me try again addressing iisreset specifically. iisreset doesn't work in the scenario you described because it's a Micr

Re: SSHD, Cygwin and Windows 2003 : continued with user rights

2003-09-18 Thread Olivier ALLART
Thanks for the tip. I decided to get rid of this stupid iisreset and use instead a command like net start/stop msftpsc/w3svc works fine whith whatever administrator Olivier Hannu E K Nevalainen (garbage mail) wrote: From: Olivier ALLART Next I guess I'll go look for some tip on how to un

RE: SSHD, Cygwin and Windows 2003 : continued with user rights

2003-09-18 Thread Hannu E K Nevalainen \(garbage mail\)
> From: Olivier ALLART > Next I guess I'll go look for some tip on how to unlock iisreset so it > can be used by whatever admin and not just local .. Sorry to jump in! Just an idea; How about runas, is it available in W2K+3? (I'm on W2K) /Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E

Re: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-18 Thread Corinna Vinschen
On Thu, Sep 18, 2003 at 01:09:58AM +0100, Chris Rodgers wrote: > > Btw., the ssh-host-config already creates the sshd account, that's easy > > from the command line. But creating a useful sshdproc account as above > > requires to be able to set user privileges like the famous "Create a > > token o

Re: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-17 Thread Chris Rodgers
> Btw., the ssh-host-config already creates the sshd account, that's easy > from the command line. But creating a useful sshdproc account as above > requires to be able to set user privileges like the famous "Create a > token object" privilege. Does anybody know a way how to do this on the > comm

Re: SSHD, Cygwin and Windows 2003 : continued with user rights

2003-09-17 Thread Olivier ALLART
Larry Hall wrote: Hm, I thought I was clear. Let me try again addressing iisreset specifically. iisreset doesn't work in the scenario you described because it's a Microsoft tool which knows nothing of the Cygwin environment. Cygwin's ssh using pubkey authentication doesn't authenticate the user

Re: SSHD, Cygwin and Windows 2003 : continued with user rights

2003-09-17 Thread Larry Hall
Hm, I thought I was clear. Let me try again addressing iisreset specifically. iisreset doesn't work in the scenario you described because it's a Microsoft tool which knows nothing of the Cygwin environment. Cygwin's ssh using pubkey authentication doesn't authenticate the user with Windows. S

Re: SSHD, Cygwin and Windows 2003 : continued with user rights

2003-09-17 Thread Olivier ALLART
Thank you for the details, but then, why *some commands* work and not others ? And more specifically, how can I make *this command* work ? Larry Hall wrote: I think you missed the fact that pubkey authentication does impersonation, not Windows-style authentication. So Windows apps won't recogni

Re: SSHD, Cygwin and Windows 2003 : continued with user rights

2003-09-17 Thread Larry Hall
At 12:40 PM 9/17/2003, Olivier ALLART you wrote: >Following Mark J de Jong 's step by step howto (see end of mail for some add-ons), I >can now effectively log in with pkey method (that is, no password) using the >'administrator' user name. >'whoami' returns 'administrator', however asking for a

Re: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-16 Thread Corinna Vinschen
On Tue, Sep 16, 2003 at 03:55:10AM -0700, Brian Dessent wrote: > Corinna Vinschen wrote: > > Does anybody know a way how to do this on the > > command line which would allow ssh-host-config to do the above more or > > less automagically? If such a command line tool doesn't exist as part > > of N

Re: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-16 Thread Brian Dessent
Corinna Vinschen wrote: > Btw., the ssh-host-config already creates the sshd account, that's easy > from the command line. But creating a useful sshdproc account as above > requires to be able to set user privileges like the famous "Create a > token object" privilege. Does anybody know a way how

Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-16 Thread Corinna Vinschen
On Mon, Sep 15, 2003 at 03:29:48PM -0400, Mark J de Jong wrote: > Hello, > I've looked and couldn't find decent docs on this so for those of you > who are lookin', this is a quick howto on how to setup the > Cygwin/OpenSSH daemon on M$ Windows 2003. This will fix the passwordless > (ssh key) login

Re: Sshd - Can't get access thru Public Key

2003-09-15 Thread Corinna Vinschen
On Mon, Sep 15, 2003 at 03:13:27PM +0200, Olivier ALLART wrote: > Corinna Vinschen wrote: > >create a special account for this, which is member of the admins > >group and has the additional user privileges "Create a token object", > >"Replace a process level token" and "Logon as a service". Probab

Re: Sshd - Can't get access thru Public Key

2003-09-15 Thread Olivier ALLART
Corinna Vinschen wrote: On Fri, Sep 12, 2003 at 05:59:03PM +0200, Olivier ALLART wrote: On aWin 2003 Server, I got the message 'Setuid : 500: Not permitted' when trying to login using RSA PK mechanisms. Login/Passwd works just fine, but using a PKey won't work. That can be found in the mai

Re: SSHD and XP problems; setguid fails - FIXED!

2003-09-14 Thread Stephen Biggs
Permission problems. Once I created the right permissions for the user id directory that the remote was connecting to and made sure that SYSTEM.SYSTEM owned the host private keys and the /var/empty directory, then everything worked like a charm with the service. The cygwin process for creating

Re: Sshd - Can't get access thru Public Key

2003-09-13 Thread Olivier ALLART
Wow thanks a lot. I wonder why this mail was not listed in the results when I was searching the MLs or web.. Olivier *Corinna Vinschen wrote: On Fri, Sep 12, 2003 at 05:59:03PM +0200, Olivier ALLART wrote: On aWin 2003 Server, I got the message 'Setuid : 500: Not permitted' when trying to l

Re: Sshd - Can't get access thru Public Key

2003-09-13 Thread Corinna Vinschen
On Fri, Sep 12, 2003 at 05:59:03PM +0200, Olivier ALLART wrote: > On aWin 2003 Server, I got the message > 'Setuid : 500: Not permitted' when trying to login using RSA PK mechanisms. > Login/Passwd works just fine, but using a PKey won't work. That can be found in the mailing list archive already.

Re: sshd "PrintLastLog yes"

2003-09-08 Thread Igor Pechtchanski
On Mon, 8 Sep 2003, Corinna Vinschen wrote: > On Mon, Sep 08, 2003 at 12:23:53PM -0400, Igor Pechtchanski wrote: > > That's why I > > suggested adding this into "ssh-host-config" (which will presumably be run > > by new users to set up sshd) instead. Another advantage of > > "ssh-host-config" i

Re: sshd "PrintLastLog yes"

2003-09-08 Thread Corinna Vinschen
On Mon, Sep 08, 2003 at 12:23:53PM -0400, Igor Pechtchanski wrote: > That's why I > suggested adding this into "ssh-host-config" (which will presumably be run > by new users to set up sshd) instead. Another advantage of > "ssh-host-config" is that it's interactive (whereas postinstall scripts >

Re: sshd "PrintLastLog yes"

2003-09-08 Thread Igor Pechtchanski
On Mon, 8 Sep 2003, Christopher Faylor wrote: > On Mon, Sep 08, 2003 at 11:01:59AM -0500, Joshua Daniel Franklin wrote: > >On Sun, Sep 07, 2003 at 02:30:47PM -0400, Larry Hall wrote: > >> At 05:30 AM 9/7/2003, Fermin Sanchez you wrote: > >> >I did a chmod 664 on /var/log/lastlog, now it works. Tha

Re: sshd "PrintLastLog yes"

2003-09-08 Thread Christopher Faylor
On Mon, Sep 08, 2003 at 11:01:59AM -0500, Joshua Daniel Franklin wrote: >On Sun, Sep 07, 2003 at 02:30:47PM -0400, Larry Hall wrote: >> At 05:30 AM 9/7/2003, Fermin Sanchez you wrote: >> >I did a chmod 664 on /var/log/lastlog, now it works. Thank you again! >> >One good side effect: I'm going to pu

Re: sshd "PrintLastLog yes"

2003-09-08 Thread Joshua Daniel Franklin
On Sun, Sep 07, 2003 at 02:30:47PM -0400, Larry Hall wrote: > At 05:30 AM 9/7/2003, Fermin Sanchez you wrote: > >I did a chmod 664 on /var/log/lastlog, now it works. Thank you again! > >One good side effect: I'm going to put all this information into a "how > >to install and run cygwin and sshd on

RE: sshd "PrintLastLog yes"

2003-09-07 Thread Igor Pechtchanski
On Sun, 7 Sep 2003, Larry Hall wrote: > At 05:30 AM 9/7/2003, Fermin Sanchez you wrote: > >Hello Corinna > > > >> > I added/uncommented "PrintLastLog yes" in /etc/sshd_config and > >> > restarted > >> PrintLastLog defaults to yes so that shouldn't be necessary. > > > >Yes, I just wanted to be sure

RE: sshd "PrintLastLog yes"

2003-09-07 Thread Larry Hall
At 05:30 AM 9/7/2003, Fermin Sanchez you wrote: >Hello Corinna > >> > I added/uncommented "PrintLastLog yes" in /etc/sshd_config and >> > restarted >> PrintLastLog defaults to yes so that shouldn't be necessary. > >Yes, I just wanted to be sure. > >> > Any hints where I should start looking (rtfm

RE: sshd "PrintLastLog yes"

2003-09-07 Thread Fermin Sanchez
Hello Corinna > > I added/uncommented "PrintLastLog yes" in /etc/sshd_config and > > restarted > PrintLastLog defaults to yes so that shouldn't be necessary. Yes, I just wanted to be sure. > > Any hints where I should start looking (rtfm didn't bring > > any results, > > neither did a quick

Re: sshd "PrintLastLog yes"

2003-09-06 Thread Corinna Vinschen
On Sat, Sep 06, 2003 at 09:05:44PM +0200, Fermin Sanchez wrote: > Hello list > > I added/uncommented "PrintLastLog yes" in /etc/sshd_config and restarted PrintLastLog defaults to yes so that shouldn't be necessary. > Any hints where I should start looking (rtfm didn't bring any results, > neithe

RE: sshd setup question

2003-09-02 Thread Larry Hall
e help. > > >Dan Adams - [EMAIL PROTECTED] >http://www.infochi.com > > > >-Original Message- >From: Larry Hall [mailto:[EMAIL PROTECTED] >Sent: Tuesday, September 02, 2003 6:03 PM >To: Dan Adams; 'Cygwin List' >Subject: RE: sshd setup question >

RE: sshd setup question

2003-09-02 Thread Dan Adams
so you knew the stuff is the same as it was a few minutes ago. I appreciate all the help. Dan Adams - [EMAIL PROTECTED] http://www.infochi.com -Original Message- From: Larry Hall [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 6:03 PM To: Dan Adams; 'Cygwin List'

RE: sshd setup question

2003-09-02 Thread Larry Hall
:35 run >drwxrwxrwx+ 2 Users 0 May 17 15:07 tmp >- >Then as before I get >- >[EMAIL PROTECTED] /bin>cygrunsrv -S sshd >cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: >The service has not been started. >- > >Dan Adams - [

RE: sshd setup question

2003-09-02 Thread Dan Adams
in32 error 1062: The service has not been started. - Dan Adams - [EMAIL PROTECTED] http://www.infochi.com -Original Message- From: Larry Hall [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 5:35 PM To: Dan Adams; [EMAIL PROTECTED] Subject: Re: sshd setup question Again,

Re: sshd setup question

2003-09-02 Thread Larry Hall
Again, please attach your '/etc/passwd' and '/etc/group' files and show a transcript of your attempt to set /var/empty persmissions along with the output from 'ls -l /var'. Larry At 11:43 PM 9/1/2003, Dan Adams you wrote: >I followed both of those suggestions. I retried that script and it seems

Re: sshd setup question

2003-09-02 Thread Dan Adams
I followed both of those suggestions. I retried that script and it seems to generate the key files each time it is run now. As far as that mySQL thing, I renamed that dll file and will use another program temporarily, until I can figure this thing out. Once I did those two things, I still see an e

Re: sshd setup question

2003-09-02 Thread Larry Hall
ssh-host-config creates /etc/ssh_host_key*. From your cygcheck output: 653k 2003/07/22 C:\Program Files\mysql\bin\cygwinb19.dll - os=4.0 img=1.0 sys=4.0 "cygwinb19.dll" v0.0 ts=1998/7/15 18:50 This will is trouble waiting to happen. Get rid of this DLL and update mysql as r

Re: sshd setup question

2003-09-02 Thread Dan Adams
I am guessing this questioning might shift a little with my latest finding. Also, I have attached the cygcheck file thing that was requested at that website. My latest finding is: Could not load host key: /etc/ssh_host_key Could not load host key: /etc/ssh_host_rsa_key Could not load host key:

Re: sshd setup question

2003-09-02 Thread Larry Hall
OK, I'm not sure my efforts are paying off here. I'd recommend again that you visit . It's hard to figure things without a basis of information. However, you'll probably find looking in the email archives helpful. For instance, I found this with a simple search:

Re: sshd setup question

2003-09-02 Thread Larry Hall
At 09:32 PM 9/1/2003, Dan Adams you wrote: >You mentioned that it is not reaching the server through ssh, is there any >way I can find out where the problem occurs at? I am using a command line of >: >ssh -p 422 localhost >to do this, I am not sure where in the networking the problem might lie

Re: sshd setup question

2003-09-02 Thread Dan Adams
The error it gives me when I try to start the service, after using the ssh-host-config command to make the service, and using the cygrunsrv -S sshd command is: cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. I am not sure if this will he

Re: sshd setup question

2003-09-02 Thread Dan Adams
You mentioned that it is not reaching the server through ssh, is there any way I can find out where the problem occurs at? I am using a command line of : ssh -p 422 localhost to do this, I am not sure where in the networking the problem might lie at, is there any way that I can find out, or ass

Re: sshd setup question

2003-09-02 Thread Larry Hall
You're not reaching the server. The read of the basic version identification is failing. If the client and the server can't understand what version of ssh is running on either end, they don't talk. So you're not reaching the server through ssh. Sorry I don't know much about setting up ssh unde

Re: sshd setup question

2003-09-01 Thread Dan Adams
Thanks for the comment about cygrunsrv and the method of removing service from win2k That worked well Since I have inetd working well. I have a telnet server and also a FTP server, but neither is available outside of my firewall. I thought that I would try and see if I could use the sshd server th

Re: sshd setup question

2003-09-01 Thread Larry Hall
OK, visit and provide the requested info. Also, send along (attached too) your /etc/passwd and /etc/group files. The actual transcript of your attempt to run chown would be helpful too. cygrunsrv -E followed by cygrunsrv -R will stop and remove a service. Larr

Re: sshd setup question

2003-09-01 Thread Dan Adams
I tried the directions at the site, and when it did the chown system.system /var/empty command. It errors out, saying that the user is unknown. It seems to not want to start the service after that point. Any more suggestions. Also does anyone know how to remove a service from the listong in Win2k o

Re: sshd setup question

2003-09-01 Thread Larry Hall
At 05:28 PM 9/1/2003, Krzysztof Duleba you wrote: >Dan Adams" wrote > >> Does anyone know if there is either a script that will automate the >process >> of setting up an ssh server? Or is there a tutorial setup page? > >http://tech.erdelynet.com/cygwin-sshd.html And please follow-up with any ques

Re: sshd setup question

2003-09-01 Thread Larry Hall
At 05:07 PM 9/1/2003, Dan Adams you wrote: >Does anyone know if there is either a script that will automate the process >of setting up an ssh server? Or is there a tutorial setup page? > >Dan Adams - [EMAIL PROTECTED] >http://www.infochi.com > You mean other than /usr/doc/Cygwin/openssh-*.README?

Re: sshd setup question

2003-09-01 Thread Krzysztof Duleba
Dan Adams" wrote > Does anyone know if there is either a script that will automate the process > of setting up an ssh server? Or is there a tutorial setup page? http://tech.erdelynet.com/cygwin-sshd.html Regards Krzysztof Duleba -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simp

Re: SSHD extra listening socket

2003-06-07 Thread Corinna Vinschen
On Sat, Jun 07, 2003 at 04:45:42PM +0200, Stephen Biggs wrote: > Windows 98 with the latest downloads including the latest OpenSSH patch, > version 3.6.1p1-2. > > I noticed that there was a discussion about a year back on extra > listening sockets being opened by ssh/sshd on the localhost and I

RE: sshd through sysV init

2003-04-01 Thread Sergey Okhapkin
The initscripts' inittab refers to the scripts from initscripts package. Sergey Okhapkin Somerset NJ > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Corinna Vinschen > Sent: Tuesday, April 01, 2003 5:06 PM > To: [EMAIL PROT

Re: sshd through sysV init

2003-04-01 Thread Corinna Vinschen
On Tue, Apr 01, 2003 at 04:56:39PM -0500, Sergey Okhapkin wrote: > But what the behavior of the script should be? The problem is that 2 > packages have common file - /etc/inittab. The only solution I see is to > combine 2 packages into a single sysvinit+initscripts package. Why doesn't that script

<    4   5   6   7   8   9   10   11   12   >