This is on an installation using setup today with the latest packages on
archive.progeny.net. It's running Win2k Server. I think I've also verified
this on my XP HE box at home.
I can happily ssh into my box.
$ ssh Administrator@foo
Warning: Remote host denied X11 forwarding.
Last login: Tue
indows NT4 SP6. I had the same
> >solution -- back out my changes. I haven't had time to investigate what
> >is causing the problem but it starting occurring in one of the recent
> >releases of ssh in which privilege separation was added.
> >
> > > -Original M
the recent
> >releases of ssh in which privilege separation was added.
> >
> > > -Original Message-
> > > From: Len Giambrone [mailto:[EMAIL PROTECTED]]
> > > Sent: Tuesday, October 08, 2002 4:18 PM
> > > To: [EMAIL PROTECTED]
> > >
Windows NT4 SP6. I had the same
> >solution -- back out my changes. I haven't had time to investigate what
> >is causing the problem but it starting occurring in one of the recent
> >releases of ssh in which privilege separation was added.
> >
> > > -Ori
This will help getting you running from the command line:
If your files are owned and only readable by SYSTEM, it's harder to run sshd
from the command line. Try either:
Changing /etc/ssh*key* to be owned by the user you are starting sshd as
OR
Specifying a new host key with -h: /usr/sbin/s
e
> > mkdir -p /var/empty
> > # On NT change ownership of that dir to user "system"
> > if [ $_nt -gt 0 ]
> > then
> >chown system.system /var/empty
> > fi
> >fi
>
> For me, I have the following permissions:
>
> $ ls -ld
, )
0022FF40 61004236 (00404028, E3E2E1E0, 00780018, 0008)
0022FF60 61004275 (, , , 77F6)
0022FF90 0040740B (00404028, F6461CA0, 80065330, )
0022FFC0 0040103D (E3E2E1E0, E7E6E5E4, 7FFDF000, )
End of stack trace (more stack frames ma
C:\cygwin\usr\X11R6\bin\cygXt-6.dll
27k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygXTrap-6.dll
17k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygXtst-6.dll
Service : sshd
Display name : CYGWIN sshd
Current State : Running
Controls Accepted : Stop
Command : /usr/
gt; problems with McAfee on WXP though.
>
> Tim
>
> Len Giambrone wrote:
> > The agent starts correctly, but I can't get ssh-add to give me anything
> > other
> > than:
> > Could not open a connection to your authentication agent.
> > I'm runni
Running the latest version:
$ cygcheck -c cygwin openssh csih
Cygwin Package Information
Package VersionStatus
csih 0.9.8-5OK
cygwin 1.7.34-6 OK
openssh 6.7p1-2OK
When I run
ssh-host-config -y -w X
I
* Warning: Defaulting to 'SYSTEM'
I will see if I can figure out why the Cygwin name is failing to become
WX64LG+cyg_server and get back to you.
On 02/23/2015 09:47 AM, Corinna Vinschen wrote:
On Feb 23 13:05, Corinna Vinschen wrote:
On Feb 20 18:32, Len Giambrone wrote:
Running
\${COMPUTERNAME,,*}" != "${LOGONSERVER,,*}" ]
then
# Lowercase of USERDOMAIN
csih_PRIVILEGED_USERNAME="${COMPUTERNAME,,*}+${username}"
fi
fi
So I'm guessing you should remove the "!".
On 02/23/2015 11:15 AM, Len Giambrone wrote:
Yes, W
:
On Feb 23 11:48, Len Giambrone wrote:
csih_use_file_etc returns 0 on my system (as it should with no passwd file,
right?)
Uhm, no. It should return 0 if you *use* the files (0 == true in the
shell), That should be only the case if you're running Cygwin 1.7.33
or if your nsswitch.conf file sa
t's what you want. Both of the greps are false
(returning 1) and use_file is being set to 0.
On 02/23/2015 12:55 PM, Len Giambrone wrote:
If that is the case, then there is a bug in csih_old_cygwin:
build@wx64lg /usr/share/csih
$ uname -a
CYGWIN_NT-6.1 wx64lg 1.7.34(0.285/5/3) 2015-02-
| use_file=0
On 02/23/2015 01:37 PM, Len Giambrone wrote:
My bad, csih_old_cygwin works as documented.
But there is a bug in csih_use_file_etc:
$ cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
#This file is read once by the first process in a Cygwin process
tree.
#To pick up changes
Using the latest cygwin:
$ cygcheck -c cygwin
Cygwin Package Information
Package VersionStatus
cygwin 1.7.34-6 OK
I've asked my admin to update the uidNumber and gidNumber in AD. He has
done so:
DistinguishedName :
CN=build,OU=GroupAccounts,OU=Users,
On 02/25/2015 11:18 AM, Corinna Vinschen wrote:
On Feb 25 11:01, Len Giambrone wrote:
Using the latest cygwin:
$ cygcheck -c cygwin
Cygwin Package Information
Package VersionStatus
cygwin 1.7.34-6 OK
I've asked my admin to update the uidNumbe
On 02/25/2015 12:20 PM, Corinna Vinschen wrote:
On Feb 25 11:51, Len Giambrone wrote:
On 02/25/2015 11:18 AM, Corinna Vinschen wrote:
On Feb 25 11:01, Len Giambrone wrote:
[...]
The username displays correctly, but the group name does not:
$ ls -la foo
-rw-rw-r-- 1 build Unix_Group+999 0
On 02/25/2015 12:34 PM, Corinna Vinschen wrote:
On Feb 25 12:26, Len Giambrone wrote:
On 02/25/2015 12:20 PM, Corinna Vinschen wrote:
On Feb 25 11:51, Len Giambrone wrote:
On 02/25/2015 11:18 AM, Corinna Vinschen wrote:
On Feb 25 11:01, Len Giambrone wrote:
[...]
The username displays
This used to work (before Corinna's db work):
$ cygrunsrv -I myservice -d 'myservice' -u 'ISCINTERNAL\build' -w
donotuseme -p /cygdrive/f/tut/install.sh
cygrunsrv: Error installing a service: CreateService: Win32 error 1057:
The account name is invalid or does not exist, or the password is
in
On 03/31/2015 06:04 AM, Corinna Vinschen wrote:
On Mar 30 14:07, Len Giambrone wrote:
This used to work (before Corinna's db work):
$ cygrunsrv -I myservice -d 'myservice' -u 'ISCINTERNAL\build' -w donotuseme
-p /cygdrive/f/tut/install.sh
cygrunsrv: Error installing
On 03/31/2015 02:00 PM, Len Giambrone wrote:
On 03/31/2015 06:04 AM, Corinna Vinschen wrote:
On Mar 30 14:07, Len Giambrone wrote:
This used to work (before Corinna's db work):
$ cygrunsrv -I myservice -d 'myservice' -u 'ISCINTERNAL\build' -w
donotuseme
-p /
I believe that PuTTy is SSH2, while Cygwin is OpenSSH. You can convert them
using
ssh-keygen:
ssh-keygen -f putty_key -i > openssh_key
-Len
On Jan 22, 2012, at 1:47 AM, Andrew DeFaria wrote:
> On 01/21/2012 07:28 PM, Andrey Repin wrote:
>> Well, *I* am using Cygwin SSH and PuTTY. And I've
That looks like an SSH2 key, not an OpenSSH key.
I downloaded puttygen to see exactly what you see.
And after you load a key (generate one) right at the top it says:
Public key for pasting into OpenSSH authorized_keys file:
_key here_
For example, here is what it says for the key I just generat
Well, try adding the key to authorized_keys on a box where you have ssh working
and see if it works.
If not, you know you have a key problem. If so, you know you have a
permissions problem.
-Len
On Jan 23, 2012, at 3:40 PM, Andrew DeFaria wrote:
> On 1/23/2012 11:59 AM, Len Giambr
I'm can't execute shell scripts on a samba share served by our linux boxes.
lgiambro@lorien //kitserver/kits
$ ls -la len.sh
-rwx-- 1 lgiambro releng 24 Apr 18 10:48 len.sh
lgiambro@lorien //kitserver/kits
$ cat len.sh
#!/bin/sh
echo it works
lgiambro@lorien //kitserver/kits
$ ./len.sh
-bash
No. That works. presumably because it's executing "bash" and not
the script itself.
-Len
On Apr 18, 2012, at 1:49 PM, Earnie Boyd wrote:
> On Wed, Apr 18, 2012 at 11:44 AM, Len Giambrone
> wrote:
>> I'm can't execute shell scripts on a
n Apr 18, 2012, at 1:49 PM, Earnie Boyd wrote:
>
>> On Wed, Apr 18, 2012 at 11:44 AM, Len Giambrone
>> wrote:
>>> I'm can't execute shell scripts on a samba share served by our linux
> boxes.
>>>
>>> lgiambro@lorien //kitserver/kits
>>
-Len
On Apr 19, 2012, at 7:37 AM, Earnie Boyd wrote:
> On Wed, Apr 18, 2012 at 3:44 PM, Len Giambrone
> wrote:
>> No. That works. presumably because it's executing "bash" and not
>> the script itself.
>
> http://cygwin.com/acronyms/#TOFU
>
&
Greetings. I'm running the latest (as of a few days ago) Cygwin and bash.
Cygwin Package Information
Package VersionStatus
bash 4.1.10-4 OK
cygwin 1.7.9-1OK
If I set -o igncr, and then export SHELLOPTS as stated in
/usr/share/doc/
Greetings.
If I set CYGWIN=tty, then cygwin programs die with
*** fatal error - couldn't initialize fd 0 for /dev/ttyN
Example:
C:\cygwin\home\lgiambro>bash -c "cmd /c 'ls'"
0 [main] ls 7440 C:\cygwin\bin\ls.exe: *** fatal error - couldn't initiali
ze fd 0 for /dev/tty7
0 [main] ls
This time with a subject; apologies if the first one gets through.
We use windows native jam which spawns any number of cmd, cygwin, or studio
processes.
If we spawn it from a Cygwin terminal that doesn't have CYGWIN=tty set, we get:
The handle is invalid.
Every time output goes to the screen.
Is there a way of determining with what user credentials a share was mounted?
I suppose I could touch a file on the drive and then find out who the owner is,
but that's not ideal.
mount will tell me that it's a user mount, but won't tell me WHICH user.
Is there some way (windows native or Cygwin
33 matches
Mail list logo