RE: OpenSSH_3.9p1 and Could not load host key

2005-03-29 Thread Larry Hall
At 06:14 PM 3/29/2005, you wrote:
>On Tue, 29 Mar 2005, Larry Hall wrote:
>
>> >XFree86-base4.3.0-11
>> >XFree86-bin 4.3.0-21
>> >XFree86-bin-icons   4.3.0-7
>> >XFree86-doc 4.3.0-2
>> >XFree86-etc 4.3.0-12
>> >XFree86-f1004.3.0-2
>> >XFree86-fcyr4.3.0-2
>> >XFree86-fenc4.3.0-2
>> >XFree86-fnts4.3.0-2
>> >XFree86-fscl4.3.0-2
>> >XFree86-fsrv4.3.0-9
>> >XFree86-html4.3.0-10
>> >XFree86-jdoc4.3.0-2
>> >XFree86-lib 4.3.0-3
>>
>> >XFree86-man 4.3.0-10
>> >XFree86-nest4.3.0-8
>> >XFree86-prog4.3.0-21
>> >XFree86-prt 4.3.0-6
>> >XFree86-ps  4.3.0-2
>> >XFree86-startup-scripts 4.3.0-1
>> >XFree86-vfb 4.3.0-8
>> >XFree86-xserv   4.3.0-68
>> >XFree86-xwinclip4.3.0-3
>>
>> 
>>
>> Since you mentioned it, it seems to me that the existence of these
>> deprecated packages on your system for X is only going to cause you
>> problems.  They should have been removed with any recent update
>> you did.  Since you definitely have Xorg packages installed, I
>> cannot explain this conflict.  Rerun setup and uninstall these
>> packages if an update doesn't do it for you automatically.
>
>This is not quite accurate.  The latest versions of the above packages are
>empty upgrade helpers and are harmless.  Setup currently has no way of
>knowing that one package replaces another, so the way to do this is to
>create a newer (empty) version of the replaced package, and let setup
>install that.  They should not appear on a new installation unless
>*absolutely everything* is installed, but on any machine that had XFree86
>installed before, these packages will be in the package list.

Ah, you're right.  I missed the fact that these packages were also at the
current version.  Sorry for the noise.


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


--
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: OpenSSH_3.9p1 and Could not load host key

2005-03-29 Thread Igor Pechtchanski
On Tue, 29 Mar 2005, Larry Hall wrote:

> >XFree86-base4.3.0-11
> >XFree86-bin 4.3.0-21
> >XFree86-bin-icons   4.3.0-7
> >XFree86-doc 4.3.0-2
> >XFree86-etc 4.3.0-12
> >XFree86-f1004.3.0-2
> >XFree86-fcyr4.3.0-2
> >XFree86-fenc4.3.0-2
> >XFree86-fnts4.3.0-2
> >XFree86-fscl4.3.0-2
> >XFree86-fsrv4.3.0-9
> >XFree86-html4.3.0-10
> >XFree86-jdoc4.3.0-2
> >XFree86-lib 4.3.0-3
>
> >XFree86-man 4.3.0-10
> >XFree86-nest4.3.0-8
> >XFree86-prog4.3.0-21
> >XFree86-prt 4.3.0-6
> >XFree86-ps  4.3.0-2
> >XFree86-startup-scripts 4.3.0-1
> >XFree86-vfb 4.3.0-8
> >XFree86-xserv   4.3.0-68
> >XFree86-xwinclip4.3.0-3
>
> 
>
> Since you mentioned it, it seems to me that the existence of these
> deprecated packages on your system for X is only going to cause you
> problems.  They should have been removed with any recent update
> you did.  Since you definitely have Xorg packages installed, I
> cannot explain this conflict.  Rerun setup and uninstall these
> packages if an update doesn't do it for you automatically.

This is not quite accurate.  The latest versions of the above packages are
empty upgrade helpers and are harmless.  Setup currently has no way of
knowing that one package replaces another, so the way to do this is to
create a newer (empty) version of the replaced package, and let setup
install that.  They should not appear on a new installation unless
*absolutely everything* is installed, but on any machine that had XFree86
installed before, these packages will be in the package list.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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: OpenSSH_3.9p1 and Could not load host key

2005-03-29 Thread Peter Fraser
 Sorry I don't know which ones helped.
I did them all at once. My guess is
the mkpasswd and mkgroup, from the
looks of it the -d option was not
used earlier. And there is a local
pjf NT userid as well as a
domain userid. I expect that caused
the confusion. Then ssh started to
work shh  complained about not
have permissions on the .Xauthority
file. I had to destroy the one
that was there before the complaints
went away.

-Original Message-
From: Larry Hall [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 29, 2005 5:32 PM
To: Peter Fraser; Cygwin List
Subject: RE: OpenSSH_3.9p1 and Could not load host key

At 05:08 PM 3/29/2005, you wrote:
>My problem:
>
>When I opened an ssh session from an OpenBSD or Linux box to
>my XP system I got the following
>
>$ ssh whoops.thoughts.thinkage.ca
>Last login: Mon Mar 28 11:15:25 2005 from mail.thinkage.ca
>Fanfare!!!
>You are successfully logged in to this server!!!
>bash.exe: warning: could not find /tmp, please create!
>-bash: /etc/profile: Permission denied
>-bash: /pjf/.bash_profile: Permission denied
>-bash-2.05b$ exit
>logout
>-bash: /pjf/.bash_logout: Permission denied
>Connection to whoops.thoughts.thinkage.ca closed.
>
>While it was in this mode. Bash could only execute some 
>of its build in commands (i.e. echo and set). Bash could 
>not access the file system at all.
>A "cd" would fail for example. No external commands 
>could be started at all.


Ah, I see.  I thought you were originally having problems getting logged
in 
and staying logged in via ssh.  I didn't realize that you typed the
"exit"
above.


>The good news, is the changes that you had me make
>in the cygwin environment did fix the problem.
>I can now successful ssh into my windows system
>and execute commands.


DO you know which of my suggested changes helped?  Just curious.

>Thank you very much!

You're welcome.  Glad things are working for you now.



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



--
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: OpenSSH_3.9p1 and Could not load host key

2005-03-29 Thread Larry Hall
At 05:08 PM 3/29/2005, you wrote:
>My problem:
>
>When I opened an ssh session from an OpenBSD or Linux box to
>my XP system I got the following
>
>$ ssh whoops.thoughts.thinkage.ca
>Last login: Mon Mar 28 11:15:25 2005 from mail.thinkage.ca
>Fanfare!!!
>You are successfully logged in to this server!!!
>bash.exe: warning: could not find /tmp, please create!
>-bash: /etc/profile: Permission denied
>-bash: /pjf/.bash_profile: Permission denied
>-bash-2.05b$ exit
>logout
>-bash: /pjf/.bash_logout: Permission denied
>Connection to whoops.thoughts.thinkage.ca closed.
>
>While it was in this mode. Bash could only execute some 
>of its build in commands (i.e. echo and set). Bash could 
>not access the file system at all.
>A "cd" would fail for example. No external commands 
>could be started at all.


Ah, I see.  I thought you were originally having problems getting logged in 
and staying logged in via ssh.  I didn't realize that you typed the "exit"
above.


>The good news, is the changes that you had me make
>in the cygwin environment did fix the problem.
>I can now successful ssh into my windows system
>and execute commands.


DO you know which of my suggested changes helped?  Just curious.

>Thank you very much!

You're welcome.  Glad things are working for you now.



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


--
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: OpenSSH_3.9p1 and Could not load host key

2005-03-29 Thread Peter Fraser
My problem:

When I opened an ssh session from an OpenBSD or Linux box to
my XP system I got the following

$ ssh whoops.thoughts.thinkage.ca
Last login: Mon Mar 28 11:15:25 2005 from mail.thinkage.ca
Fanfare!!!
You are successfully logged in to this server!!!
bash.exe: warning: could not find /tmp, please create!
-bash: /etc/profile: Permission denied
-bash: /pjf/.bash_profile: Permission denied
-bash-2.05b$ exit
logout
-bash: /pjf/.bash_logout: Permission denied
Connection to whoops.thoughts.thinkage.ca closed.

While it was in this mode. Bash could only execute some 
of its build in commands (i.e. echo and set). Bash could 
not access the file system at all.
A "cd" would fail for example. No external commands 
could be started at all.

The good news, is the changes that you had me make
in the cygwin environment did fix the problem.
I can now successful ssh into my windows system
and execute commands.

Thank you very much!

--
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: OpenSSH_3.9p1 and Could not load host key

2005-03-29 Thread Larry Hall
At 01:59 PM 3/29/2005, you wrote:
>With CYGWIN=notraverse
>
>I rebooted just to make sure that the change
>prorogated everywhere.


That's fine and good.


>Also It makes no difference whether X win is active or not.


None of this has anything to do with X so I wouldn't expect any
change here either.



>Also sshd was working with a earlier version, I don't know
>which one, but it was after the Nov 11 Cygwin DLL 1.5.12-1

The current version is 1.5.13-1 so there's not allot of leeway
here.  And are you suggesting that it doesn't work now for you?
The logs you sent in a previous message indicate it is working
fine for you.

I'm note sure why you're sending this cygcheck and what you're still 
having problems with. But assuming you are having some problems, I'll point
out some discrepancies I see that may have an affect on them:



>~$ cygcheck -srv



>Path:   C:\usr\local\bin

 ^^

What's in here?  Anything that could interfere or conflict??


>C:\usr\X11R6\bin
>XS\usr\bin

 ^^^
This is certainly not right.  Get rid of it.

>C:\bin
>C:\Program Files\Legato\nsr\bin
>C:\Program Files\Windows Resource Kits\Tools\
 ^^

So you want to be sure that you're always getting the Cygwin version of all
the tools you're running.  Make sure the Cygwin version is first in the list
when you type 'type -a  '



>Output from C:\bin\id.exe (nontsec)
>UID: 11001(pjf) GID: 10545(mkgroup-l-d)
>10545(mkgroup-l-d)
>
>Output from C:\bin\id.exe (ntsec)
>UID: 11001(pjf) GID: 10545(mkgroup-l-d)
>0(root) 544(Administrators) 545(Users)
>10545(mkgroup-l-d)


Make sure your user is in your /etc/passwd file at the very least.  If it
isn't, see 'man mkpasswd' and 'man mkgroup'.


>SysDir: C:\WINDOWS\system32
>WinDir: C:\WINDOWS
>
>CYGWIN = `notraverse'
>HOME = `C:\pjf'


If you don't need this set for some reason, don't.











>C:\ / system  textmode
>c:\tmp  /tmp  system  binmode
>C:\/bin /usr/bin  system  textmode
>C:\/lib /usr/lib  system  textmode
>C:\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system  binmode
>.   /cygdrive system
>textmode,cygdrive


There's no reason to have /usr/bin and /usr/lib in textmode.  Personally,
I recommend against it for / and /cygdrive too.  Remove the '\/' from the 
/usr/bin and /usr/lib mounts.





>XFree86-base4.3.0-11
>XFree86-bin 4.3.0-21
>XFree86-bin-icons   4.3.0-7
>XFree86-doc 4.3.0-2
>XFree86-etc 4.3.0-12
>XFree86-f1004.3.0-2
>XFree86-fcyr4.3.0-2
>XFree86-fenc4.3.0-2
>XFree86-fnts4.3.0-2
>XFree86-fscl4.3.0-2
>XFree86-fsrv4.3.0-9
>XFree86-html4.3.0-10
>XFree86-jdoc4.3.0-2
>XFree86-lib 4.3.0-3



>XFree86-man 4.3.0-10
>XFree86-nest4.3.0-8
>XFree86-prog4.3.0-21
>XFree86-prt 4.3.0-6
>XFree86-ps  4.3.0-2
>XFree86-startup-scripts 4.3.0-1
>XFree86-vfb 4.3.0-8
>XFree86-xserv   4.3.0-68
>XFree86-xwinclip4.3.0-3



Since you mentioned it, it seems to me that the existence of these 
deprecated packages on your system for X is only going to cause you
problems.  They should have been removed with any recent update 
you did.  Since you definitely have Xorg packages installed, I 
cannot explain this conflict.  Rerun setup and uninstall these 
packages if an update doesn't do it for you automatically.





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


--
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: OpenSSH_3.9p1 and Could not load host key

2005-03-29 Thread Peter Fraser
With CYGWIN=notraverse

I rebooted just to make sure that the change
prorogated everywhere.

Also It makes no difference whether X win is active or not.

Also sshd was working with a earlier version, I don't know
which one, but it was after the Nov 11 Cygwin DLL 1.5.12-1

I had previously upgraded at in during Christmas time. I have
the effect of random tools tips that popup unexpectedly when
I run X and emacs. And I was hoping these would go away.

Also in passing cygwin's X based emacs will not operate, it does not
bother me since the windows one seems to work fine.


~$ cygcheck -srv

Cygwin Configuration Diagnostics
Current System Time: Tue Mar 29 13:32:43 2005

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   C:\usr\local\bin
C:\usr\X11R6\bin
XS\usr\bin
C:\bin
C:\Program Files\Legato\nsr\bin
C:\Program Files\Windows Resource Kits\Tools\
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\Program Files\Support Tools\
C:\Program Files\ATI Technologies\ATI Control Panel
C:\usr\X11R6\bin
C:\usr\local\bin
C:\bin
C:\bin
C:\Program Files\Microsoft SQL Server\80\Tools\BINN
C:\PROGRA~1\COMPUT~1\SCANEN~1
C:\PROGRA~1\COMPUT~1\INOCUL~1
C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT
C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin
C:\Program Files\Microsoft Visual Studio\Common\Tools
C:\Program Files\Microsoft Visual Studio\VC98\bin

Output from C:\bin\id.exe (nontsec)
UID: 11001(pjf) GID: 10545(mkgroup-l-d)
10545(mkgroup-l-d)

Output from C:\bin\id.exe (ntsec)
UID: 11001(pjf) GID: 10545(mkgroup-l-d)
0(root) 544(Administrators) 545(Users)
10545(mkgroup-l-d)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

CYGWIN = `notraverse'
HOME = `C:\pjf'
PWD = `/pjf'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\pjf.THOUGHTS\Application Data'
AVENGINE = `C:\PROGRA~1\COMPUT~1\SCANEN~1'
CC = `gcc'
CLIENTNAME = `Console'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `WHOOPS'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
CYGWIN_ROOT = `c:'
DISPLAY = `localhost:0.0'
EXCHICONS = `C:\Program Files\Exchsrvr\bin\maildsmx.dll'
FP_NO_HOST_CHECK = `NO'
GS_LIB = `//d/Multimedia Files/Fonts/PostScript'
INCLUDE = `C:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\include\;C:\Program Files\Microsoft Visual Studio
\VC98\atl\include;C:\Program Files\Microsoft Visual
Studio\VC98\mfc\include;C:\Program Files\Microsoft Visual Studio\VC9
8\include'
INOCULAN = `C:\PROGRA~1\COMPUT~1\INOCUL~1'
LIB = `C:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\Lib\;C:\Program Files\Microsoft Visual Studio\VC98\mf
c\lib;C:\Program Files\Microsoft Visual Studio\VC98\lib'
LOGNAME = `pjf'
LOGONSERVER = `\\VALET'
LS_COLORS =
`di=1;35:*.cc=38:*.c=38:*.cpp=38:*.cxx=38:*.h=38:*.hxx=38:*.hpp=38:*.inl
=38:*.tlh=38:*.inc=38:*.mac=38:*.o=1
;32:*.txt=1:*.1st=1:*.me=1:*.nfo=1:*.log=1:*.sh=1:*~=35:*.zip=1;31:*.z=1
;31:*.Z=1;31:*.gz=1;31:*.bz2=1;31:*.tgz=1;31:*.t
ar=1;31'
MAILCHECK = `0'
MSDEVDIR = `C:\Program Files\Microsoft Visual Studio\Common\MSDev98'
NUMBER_OF_PROCESSORS = `2'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0209'
PROGRAMFILES = `C:\Program Files'
PS1 = `\e[32;47m\w\e[30;47m$ \e[30;47m\e[k'
PS2 = `> '
SESSIONNAME = `Console'
SHELL = `/bin/bash.exe'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `C:\DOCUME~1\PJF~1.THO\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `C:\DOCUME~1\PJF~1.THO\LOCALS~1\Temp'
USERDNSDOMAIN = `THOUGHTS.THINKAGE.CA'
USERDOMAIN = `THOUGHTS'
USERNAME = `pjf'
USERPROFILE = `C:\Documents and Settings\pjf.THOUGHTS'
VS71COMNTOOLS = `C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools\'
WINDIR = `C:\WINDOWS'
_ = `/bin/cygcheck'
POSIXLY_CORRECT = `1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0020
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\'
  flags = 0x0008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/tmp
  (default) = `c:\tmp'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\/bin'
  flags = 0x0008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\/lib'
  flags = 0x

RE: OpenSSH_3.9p1 and Could not load host key

2005-03-29 Thread Peter Fraser
I should have added earlier, that I am receiving these messages in the
event log


The description for Event ID ( 0 ) in Source ( sshd ) cannot be found.
The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. You may be
able to use the /AUXSOURCE= flag to retrieve this description; see Help
and Support for details. The following information is part of the event:
sshd : PID 2728 : Accepted publickey for pjf from 192.102.11.1 port
11046 ssh2.

--
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: OpenSSH_3.9p1 and Could not load host key

2005-03-29 Thread Peter Fraser
A cygcheck while an ssh session had be established
(I could not do it from inside the session
fork: Permissions denied) 
I have not set notraverse yet, that will be the next message

~$ cygcheck -srv

Cygwin Configuration Diagnostics
Current System Time: Tue Mar 29 13:00:42 2005

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   C:\usr\local\bin
C:\usr\X11R6\bin
XS\usr\bin
C:\bin
C:\Program Files\Legato\nsr\bin
C:\Program Files\Windows Resource Kits\Tools\
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\Program Files\Support Tools\
C:\Program Files\ATI Technologies\ATI Control Panel
C:\usr\X11R6\bin
C:\usr\local\bin
C:\bin
C:\bin
C:\Program Files\Microsoft SQL Server\80\Tools\BINN
C:\PROGRA~1\COMPUT~1\SCANEN~1
C:\PROGRA~1\COMPUT~1\INOCUL~1
C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT
C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin
C:\Program Files\Microsoft Visual Studio\Common\Tools
C:\Program Files\Microsoft Visual Studio\VC98\bin

Output from C:\bin\id.exe (nontsec)
UID: 11001(pjf) GID: 10545(mkgroup-l-d)
10545(mkgroup-l-d)

Output from C:\bin\id.exe (ntsec)
UID: 11001(pjf) GID: 10545(mkgroup-l-d)
0(root) 544(Administrators) 545(Users)
10545(mkgroup-l-d)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

HOME = `C:\pjf'
PWD = `/pjf'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\pjf.THOUGHTS\Application Data'
AVENGINE = `C:\PROGRA~1\COMPUT~1\SCANEN~1'
CC = `gcc'
CLIENTNAME = `Console'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `WHOOPS'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
CYGWIN_ROOT = `c:'
DISPLAY = `localhost:0.0'
EXCHICONS = `C:\Program Files\Exchsrvr\bin\maildsmx.dll'
FP_NO_HOST_CHECK = `NO'
GS_LIB = `//d/Multimedia Files/Fonts/PostScript'
INCLUDE = `C:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\include\;C:\Program Files\Microsoft Visual Studio
\VC98\atl\include;C:\Program Files\Microsoft Visual
Studio\VC98\mfc\include;C:\Program Files\Microsoft Visual Studio\VC9
8\include'
INOCULAN = `C:\PROGRA~1\COMPUT~1\INOCUL~1'
LIB = `C:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\Lib\;C:\Program Files\Microsoft Visual Studio\VC98\mf
c\lib;C:\Program Files\Microsoft Visual Studio\VC98\lib'
LOGNAME = `pjf'
LOGONSERVER = `\\VALET'
LS_COLORS =
`di=1;35:*.cc=38:*.c=38:*.cpp=38:*.cxx=38:*.h=38:*.hxx=38:*.hpp=38:*.inl
=38:*.tlh=38:*.inc=38:*.mac=38:*.o=1
;32:*.txt=1:*.1st=1:*.me=1:*.nfo=1:*.log=1:*.sh=1:*~=35:*.zip=1;31:*.z=1
;31:*.Z=1;31:*.gz=1;31:*.bz2=1;31:*.tgz=1;31:*.t
ar=1;31'
MAILCHECK = `0'
MSDEVDIR = `C:\Program Files\Microsoft Visual Studio\Common\MSDev98'
NUMBER_OF_PROCESSORS = `2'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0209'
PROGRAMFILES = `C:\Program Files'
PS1 = `\e[32;47m\w\e[30;47m$ \e[30;47m\e[k'
PS2 = `> '
SESSIONNAME = `Console'
SHELL = `/bin/bash.exe'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `C:\DOCUME~1\PJF~1.THO\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `C:\DOCUME~1\PJF~1.THO\LOCALS~1\Temp'
USERDNSDOMAIN = `THOUGHTS.THINKAGE.CA'
USERDOMAIN = `THOUGHTS'
USERNAME = `pjf'
USERPROFILE = `C:\Documents and Settings\pjf.THOUGHTS'
VS71COMNTOOLS = `C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools\'
WINDIR = `C:\WINDOWS'
_ = `/bin/cygcheck'
POSIXLY_CORRECT = `1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0020
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\'
  flags = 0x0008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/tmp
  (default) = `c:\tmp'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\/bin'
  flags = 0x0008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\/lib'
  flags = 0x0008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts
v2\/usr/X11R6/lib/X11/fonts
  (default) = `C:\usr\X11R6\lib\X11\fonts'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd N/AN/A
c:  hd  NTFS114431Mb  63% CP CS UN PA FC Local Disk
d:  cd N/AN/A

Warning: Mount entries should not have a trailing (back)slash

C:\

RE: OpenSSH_3.9p1 and Could not load host key

2005-03-29 Thread Larry Hall
At 12:02 PM 3/29/2005, you wrote:
> I used the method from
>
>
>
>A piece of code I would have never thought of.
>
>On the windows XP system the output was
>
>bash: /etc/profile: Permission denied
>bash-2.05b$ /usr/sbin/sshd -D -d -d -d
>debug2: load_server_config: filename /etc/sshd_config
>debug2: load_server_config: done config len = 203
>debug2: parse_server_config: config /etc/sshd_config len 203
>debug1: sshd version OpenSSH_3.9p1
>debug1: private host key: #0 type 0 RSA1
>debug3: Not a RSA1 key file /etc/ssh_host_rsa_key.
>debug1: read PEM private key done: type RSA
>debug1: private host key: #1 type 1 RSA
>debug3: Not a RSA1 key file /etc/ssh_host_dsa_key.
>debug1: read PEM private key done: type DSA
>debug1: private host key: #2 type 2 DSA
>debug1: rexec_argv[0]='/usr/sbin/sshd'
>debug1: rexec_argv[1]='-D'
>debug1: rexec_argv[2]='-d'
>debug1: rexec_argv[3]='-d'
>debug1: rexec_argv[4]='-d'
>debug2: fd 3 setting O_NONBLOCK
>debug1: Bind to port 22 on 0.0.0.0.
>Server listening on 0.0.0.0 port 22.
>Generating 768 bit RSA key.
>RSA key generation complete.
>debug3: fd 4 is not O_NONBLOCK
>debug1: Server will not fork when running in debugging mode.
>debug3: send_rexec_state: entering fd = 7 config len 203
>debug3: ssh_msg_send: type 0
>debug3: send_rexec_state: done
>debug1: rexec start in 4 out 4 newsock 4 pipe -1 sock 7
>
>bash-2.05b$
>bash-2.05b$ cat ss
>
>-- and on the OpenBSD system
>
>Last login: Tue Mar 29 11:49:52 2005 from gateway.thinkage.ca Fanfare!!!
>You are successfully logged in to this server!!!
>Environment:
>  ALLUSERSPROFILE=C:\Documents and Settings\All Users
>  AVENGINE=C:\PROGRA~1\COMPUT~1\SCANEN~1
>  COMMONPROGRAMFILES=C:\Program Files\Common Files
>  COMPUTERNAME=WHOOPS
>  COMSPEC=C:\WINDOWS\system32\cmd.exe
>  CYGWIN_ROOT=c:
>  EXCHICONS=C:\Program Files\Exchsrvr\bin\maildsmx.dll
>  FP_NO_HOST_CHECK=NO
>  HOME=/pjf
>  INCLUDE=C:\Program Files\Microsoft Visual Studio .NET
>2003\SDK\v1.1\include\
>  INOCULAN=C:\PROGRA~1\COMPUT~1\INOCUL~1
>  LIB=C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\
>  NUMBER_OF_PROCESSORS=2
>  OS=Windows_NT
>  PATH=/Program Files/Legato/nsr/bin:/Program Files/Windows Resource
>Kits/Tools/:/WINDOWS/system32:/WINDOWS:/WINDOWS/System32/Wbem:/Program
>Files/Support Tools/:/Program Files/ATI Technologies/ATI Contr
>  PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
>  PROCESSOR_ARCHITECTURE=x86
>  PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel
>  PROCESSOR_LEVEL=15
>  PROCESSOR_REVISION=0209
>  PROGRAMFILES=C:\Program Files
>  PWD=/WINDOWS/system32
>  SHLVL=1
>  SYSTEMDRIVE=C:
>  SYSTEMROOT=C:\WINDOWS
>  TEMP=/WINDOWS/TEMP
>  TERM=xterm
>  TMP=/WINDOWS/TEMP
>  USERPROFILE=C:\Documents and Settings\NetworkService
>  VS71COMNTOOLS=C:\Program Files\Microsoft Visual Studio .NET
>2003\Common7\Tools\
>  WINDIR=C:\WINDOWS
>  _=/usr/sbin/sshd
>  TZ=EST5EST4,M4.1.0/2,M10.5.0/2
>  USER=pjf
>  LOGNAME=pjf
>  MAIL=/var/spool/mail/pjf
>  SHELL=/bin/bash
>  SSH_CLIENT=192.102.11.1 19942 22
>  SSH_CONNECTION=192.102.11.1 19942 192.102.11.8 22
>  SSH_TTY=/dev/tty0
>  DISPLAY=localhost:10.0
>Running /usr/X11R6/bin/xauth remove unix:10.0
>/usr/X11R6/bin/xauth add unix:10.0 MIT-MAGIC-COOKIE-1
>dc859ebcea010616dfd2ba9357105488
>/usr/X11R6/bin/xauth: not found
>bash.exe: warning: could not find /tmp, please create!
>-bash: /etc/profile: Permission denied
>-bash: /pjf/.bash_profile: Permission denied
>-bash-2.05b$ 


OK, so this worked, other than the annoying "permission denied" and similar
complaints.  You might try putting "notraverse" in your CYGWIN (system) 
environment variable to see if that helps.  I'm not really that sure why
you're seeing these problems though.  Looks like a separate issue though.
Checking the output of 'cygcheck -srv' once you've logged in with 'ssh' 
might be instructive though.


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


--
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: OpenSSH_3.9p1 and Could not load host key

2005-03-29 Thread Peter Fraser
 I used the method from



A piece of code I would have never thought of.

On the windows XP system the output was

bash: /etc/profile: Permission denied
bash-2.05b$ /usr/sbin/sshd -D -d -d -d
debug2: load_server_config: filename /etc/sshd_config
debug2: load_server_config: done config len = 203
debug2: parse_server_config: config /etc/sshd_config len 203
debug1: sshd version OpenSSH_3.9p1
debug1: private host key: #0 type 0 RSA1
debug3: Not a RSA1 key file /etc/ssh_host_rsa_key.
debug1: read PEM private key done: type RSA
debug1: private host key: #1 type 1 RSA
debug3: Not a RSA1 key file /etc/ssh_host_dsa_key.
debug1: read PEM private key done: type DSA
debug1: private host key: #2 type 2 DSA
debug1: rexec_argv[0]='/usr/sbin/sshd'
debug1: rexec_argv[1]='-D'
debug1: rexec_argv[2]='-d'
debug1: rexec_argv[3]='-d'
debug1: rexec_argv[4]='-d'
debug2: fd 3 setting O_NONBLOCK
debug1: Bind to port 22 on 0.0.0.0.
Server listening on 0.0.0.0 port 22.
Generating 768 bit RSA key.
RSA key generation complete.
debug3: fd 4 is not O_NONBLOCK
debug1: Server will not fork when running in debugging mode.
debug3: send_rexec_state: entering fd = 7 config len 203
debug3: ssh_msg_send: type 0
debug3: send_rexec_state: done
debug1: rexec start in 4 out 4 newsock 4 pipe -1 sock 7

bash-2.05b$
bash-2.05b$ cat ss

-- and on the OpenBSD system

Last login: Tue Mar 29 11:49:52 2005 from gateway.thinkage.ca Fanfare!!!
You are successfully logged in to this server!!!
Environment:
  ALLUSERSPROFILE=C:\Documents and Settings\All Users
  AVENGINE=C:\PROGRA~1\COMPUT~1\SCANEN~1
  COMMONPROGRAMFILES=C:\Program Files\Common Files
  COMPUTERNAME=WHOOPS
  COMSPEC=C:\WINDOWS\system32\cmd.exe
  CYGWIN_ROOT=c:
  EXCHICONS=C:\Program Files\Exchsrvr\bin\maildsmx.dll
  FP_NO_HOST_CHECK=NO
  HOME=/pjf
  INCLUDE=C:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\include\
  INOCULAN=C:\PROGRA~1\COMPUT~1\INOCUL~1
  LIB=C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\
  NUMBER_OF_PROCESSORS=2
  OS=Windows_NT
  PATH=/Program Files/Legato/nsr/bin:/Program Files/Windows Resource
Kits/Tools/:/WINDOWS/system32:/WINDOWS:/WINDOWS/System32/Wbem:/Program
Files/Support Tools/:/Program Files/ATI Technologies/ATI Contr
  PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
  PROCESSOR_ARCHITECTURE=x86
  PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel
  PROCESSOR_LEVEL=15
  PROCESSOR_REVISION=0209
  PROGRAMFILES=C:\Program Files
  PWD=/WINDOWS/system32
  SHLVL=1
  SYSTEMDRIVE=C:
  SYSTEMROOT=C:\WINDOWS
  TEMP=/WINDOWS/TEMP
  TERM=xterm
  TMP=/WINDOWS/TEMP
  USERPROFILE=C:\Documents and Settings\NetworkService
  VS71COMNTOOLS=C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools\
  WINDIR=C:\WINDOWS
  _=/usr/sbin/sshd
  TZ=EST5EST4,M4.1.0/2,M10.5.0/2
  USER=pjf
  LOGNAME=pjf
  MAIL=/var/spool/mail/pjf
  SHELL=/bin/bash
  SSH_CLIENT=192.102.11.1 19942 22
  SSH_CONNECTION=192.102.11.1 19942 192.102.11.8 22
  SSH_TTY=/dev/tty0
  DISPLAY=localhost:10.0
Running /usr/X11R6/bin/xauth remove unix:10.0
/usr/X11R6/bin/xauth add unix:10.0 MIT-MAGIC-COOKIE-1
dc859ebcea010616dfd2ba9357105488
/usr/X11R6/bin/xauth: not found
bash.exe: warning: could not find /tmp, please create!
-bash: /etc/profile: Permission denied
-bash: /pjf/.bash_profile: Permission denied
-bash-2.05b$ 

--
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: OpenSSH_3.9p1 and Could not load host key

2005-03-28 Thread Larry Hall
At 04:16 PM 3/28/2005, you wrote:
>I have included cygcheck.out.
>
>The OpenSSH_3.9 which I used from an OpenBSD 3.6 system. 
>I have a lot less control over, thought I would have thought that
>a new version of sshd on my Windows XP should be a able to speak 
>to an older ssh on a differing machine.


OK, it wasn't clear to me that you were sshing into your Windows box from 
some other platform.  That's fine.  From your cygcheck output I can see 
you're running everything current in Cygwin, which is the first step.  But 
now rereading your original post you say:

>Invoked from bash we get:
>
>/usr/sbin/sshd -D -d -d -d
>debug2: load_server_config: filename /etc/sshd_config
>debug2: load_server_config: done config len = 205
>debug2: parse_server_config: config /etc/sshd_config len 205
>debug1: sshd version OpenSSH_3.9p1
>Could not load host key: /etc/ssh_host_key
>Could not load host key: /etc/ssh_host_rsa_key
>Could not load host key: /etc/ssh_host_dsa_key
>Disabling protocol version 1. Could not load host key
>Disabling protocol version 2. Could not load host key
>sshd: no hostkeys available -- exiting.


If you're not doing this from a bash that's run as 'SYSTEM', then that's 
your problem.  You'll need to install a duplicate service to the one you
already have and give it these debug flags.  Then you can stop the current
service and start this new one.  Alternatively, you could temporarily modify
your original install but this is more error prone.  Otherwise, if you simply
*have* to start the debug server from a console, see:



This will tell you one way of getting a 'SYSTEM' owned shell that you can 
use.  


>I also found some more information. using ssh to my Windows XP works
>fine if that machine does not have an id_rsa.pub entry in my
>.ssh/authorized_keys.


You mean it works if you don't run the server in debug mode and you enter
your Windows password, right?  That would imply a key mismatch between 
client and server.  Get your debug server set up properly (as above) and 
run through the scenario again with the RSA key.  The debug output should 
point you at the problem there.




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


--
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: OpenSSH_3.9p1 and Could not load host key

2005-03-28 Thread Peter Fraser
 Also I thought privilege separation, might be causing the problem
but I reran ssh-host-config and did not configure privilege
separation, and still had the problem

P.S. you cannot change this without losing your changes to 
ssh_conf and sshd_config.

-Original Message-
From: Larry Hall [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 12:47 PM
To: Peter Fraser; cygwin@cygwin.com
Subject: Re: OpenSSH_3.9p1 and Could not load host key

At 11:31 AM 3/28/2005, you wrote:
>I just put in OpenSSH_3.9p1 I started to
>get the following errors. I believe it
>is a permission problem, but when NT
>permissions are mixed with Unix permissions
>I get confused.


Those permissions look fine.



>$ ssh -v
>OpenSSH_3.9, OpenSSL 0.9.7d 17 Mar 2004
>usage: ssh [-1246AaCfghkMNnqsTtVvXxY] [-b bind_address] [-c
cipher_spec]
>   [-D port] [-e escape_char] [-F configfile] [-i
identity_file]
>   [-L port:host:hostport] [-l login_name] [-m mac_spec] [-o
>option]
>   [-p port] [-R port:host:hostport] [-S ctl] [EMAIL PROTECTED]
>[command]


You at least have a dated openssh.  Mine returns:

# ssh -v
OpenSSH_3.9p1, OpenSSL 0.9.7e 25 Oct 2004
usage: ssh [-1246AaCfghkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]
   [-D port] [-e escape_char] [-F configfile] [-i identity_file]
   [-L port:host:hostport] [-l login_name] [-m mac_spec] [-o
option]
   [-p port] [-R port:host:hostport] [-S ctl] [EMAIL PROTECTED]
[command]


You should try upgrading.  If that doesn't help, try reading and
following
the bug reporting guidelines at:

>Problem reports:   http://cygwin.com/problems.html

This will provide you with the basic info this list needs to help with 
problems, if you do need to follow-up on this problem with the list
again.



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



--
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: OpenSSH_3.9p1 and Could not load host key

2005-03-28 Thread Larry Hall
At 11:31 AM 3/28/2005, you wrote:
>I just put in OpenSSH_3.9p1 I started to
>get the following errors. I believe it
>is a permission problem, but when NT
>permissions are mixed with Unix permissions
>I get confused.


Those permissions look fine.



>$ ssh -v
>OpenSSH_3.9, OpenSSL 0.9.7d 17 Mar 2004
>usage: ssh [-1246AaCfghkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]
>   [-D port] [-e escape_char] [-F configfile] [-i identity_file]
>   [-L port:host:hostport] [-l login_name] [-m mac_spec] [-o
>option]
>   [-p port] [-R port:host:hostport] [-S ctl] [EMAIL PROTECTED]
>[command]


You at least have a dated openssh.  Mine returns:

# ssh -v
OpenSSH_3.9p1, OpenSSL 0.9.7e 25 Oct 2004
usage: ssh [-1246AaCfghkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]
   [-D port] [-e escape_char] [-F configfile] [-i identity_file]
   [-L port:host:hostport] [-l login_name] [-m mac_spec] [-o option]
   [-p port] [-R port:host:hostport] [-S ctl] [EMAIL PROTECTED] 
[command]


You should try upgrading.  If that doesn't help, try reading and following
the bug reporting guidelines at:

>Problem reports:   http://cygwin.com/problems.html

This will provide you with the basic info this list needs to help with 
problems, if you do need to follow-up on this problem with the list again.



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


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